smartApply: Function to apply either biocParallel or standard lapply

View source: R/smartApply.R

smartApplyR Documentation

Function to apply either biocParallel or standard lapply

Description

Function to apply either biocParallel or standard lapply

Usage

smartApply(parallel, x, FUN, ...)

Arguments

parallel

Logical, should parallel processing be used?

x

The main list object which the function will be applied to.

FUN

The function to be applied.

...

Additional arguments for bplapply or lapply.

Value

results of lapply or bplapply


dozmorovlab/multHiCcompare documentation built on April 30, 2022, 3:02 p.m.