Description Usage Arguments Details Value Author(s) Examples
View source: R/define_cluster.R
Define a cluster to use.
1 | 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
1 2 3 4 5 | ## 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.