get_bpparam | R Documentation |
Get (and optionally register) BiocParallel parameter
(BPPARAM
). SnowParam is the default function
as it tends to be more robust. However, because it doesn't work on Windows,
this function automatically detected the Operating System and switches
to SerialParam as needed.
get_bpparam(
workers,
progressbar = workers > 1,
use_snowparam = TRUE,
register_now = FALSE
)
workers |
Number of threads to parallelize across. |
progressbar |
|
use_snowparam |
Whether to use
SnowParam (default: |
register_now |
Register the cores now with
register ( |
BPPARAM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.