View source: R/define_cluster.R
define_cluster | R Documentation |
Define a cluster to use.
define_cluster(cores = "mc.cores", ...)
cores |
The argument to use to define the number of cores. This is useful for cases with nested parallelizations. |
... |
Advanced arguments are:
|
This function is used internally in many functions.
A BiocParallel *Param object
Leonardo Collado-Torres
## Use SerialParam()
define_cluster(mc.cores = 1)
## Note that BPPARAM.custom takes precedence
define_cluster(mc.cores = 2, BPPARAM.custom = BiocParallel::SerialParam())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.