| reset_ncores_for_windows {chipenrich} | R Documentation |
We use parallel::mclapply for multicore geneset enrichment testing, but
this function supports more than one core if the OS is not Windows. If the OS
is windows, the number of cores (mc.cores) must be set to 1.
reset_ncores_for_windows(n_cores)
n_cores |
An |
Either the original n_cores if the OS is not Windows, or 1 if
the OS is Windows.