R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    op <- options()
    op.CellBench <- list(
        CellBench.threads = 1,
        CellBench.bpparam = BiocParallel::SerialParam(stop.on.error = FALSE)
    )

    # set any options not already set
    toset <- !(names(op.CellBench) %in% names(op))
    if (any(toset)) options(op.CellBench[toset])

    invisible()
}

Try the CellBench package in your browser

Any scripts or data that you put into this service are public.

CellBench documentation built on Nov. 8, 2020, 5:11 p.m.