| register {BiocParallel} | R Documentation |
Use functions on this page to add to or query a registry of back-ends,
including the default for use when no BPPARAM object is
provided to functions..
register(BPPARAM, default=TRUE) registered(bpparamClass) bpparam(bpparamClass)
BPPARAM |
An instance of a |
default |
Make this the default |
bpparamClass |
When present, the text name of the |
Registering a back-end provides a configuration for parallel
evaluation. Only one instance of a particular BiocParallelParam
class present in the registry. Except when default=FALSE, the
most recently registered BiocParallelParam instance becomes the
default for subsequent parallel evaluation.
bpparam() Select the BiocParallelParam instance
to use. For value bpparamClass, consult first global options,
e.g., options(MulticoreParam=MulticoreParam()) and then the
value of registered(bpparamClass). If bpparamClass is
missing, use name <- names(registered())[1].
register returns, invisibly, a list of registered back-ends.
registered returns the back-end of type bpparamClass or,
if bpparamClass is missing, a list of all registered back-ends.
bpparam returns the back-end of type bpparamClass or,
Martin Morgan mailto:mtmorgan@fhcrc.org.
BiocParallelParam for possible values of BPPARAM.
registered()
bpparam() # default: registered()[[1]]
bpparam("SnowParam") # registered SnowParam