Easily set up a suitable parallelization scheme using the various options
provided in BiocParallel
and packages of the future
ecosystem.
INTERNAL USE ONLY.
set_parallel(parallel = c(TRUE, FALSE), future_param = NULL, bppar_type = NULL)
parallel | Logical indicating whether parallelization ought to be used.
Parallelization is invoked via a combination of |
---|---|
future_param | Character (if not |
bppar_type | Character specifying the type of backend to be used with
the parallelization invoked by |
Nothing. This function is designed to be called for its side-effect
of registering a parallel backend (for BiocParallel
) and/or
future::plan
, making parallel computation a trivial process.