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/multiHiCcompare documentation built on April 23, 2022, 9:56 a.m.