Description Usage Arguments Value Examples
View source: R/scMeth_functions.R
Utility function to help parallelize jobs in R with less overhead. Likely wouldn't ever be used by the user.
1 | divide_cores(total, ncores = cores_to_use)
|
total |
Total number of jobs to parallelize |
ncores |
CPUs to parallelize over (must be >1) |
Returns a data.frame with two columns (from and to) and rows equal to the number of cores
1 | divide_cores(total = 100, ncores = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.