get_bpparam: Get BiocParallel parameters

View source: R/get_bbparam.R

get_bpparamR Documentation

Get BiocParallel parameters

Description

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.

Usage

get_bpparam(workers, register_now = FALSE)

Arguments

workers

Number of threads to parallelize across.

register_now

Register the cores now with register (TRUE), or simply return the BPPARAM object (default: FALSE).

Value

BPPARAM


RajLabMSSM/echoannot documentation built on Oct. 26, 2023, 2:41 p.m.