smartApply {multiHiCcompare} | R 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

[Package multiHiCcompare version 1.2.0 Index]