mcChunk: Little helper function to split the count objects into a...

Description Usage Arguments Value Note Author(s)

View source: R/shearwater-functions.R

Description

Little helper function to split the count objects into a smaller digestible chunks and run function FUN on each subset

Usage

1
mcChunk(FUN, X, split = 250, mc.cores = 1, ...)

Arguments

FUN

The function to call on each chunk

X

The object to be subsetted using [,i,]

split

The size of each chunk

mc.cores

The number of cores to use

...

Additional arguments passed to FUN

Value

The value of FUN

Note

Experimental code, subject to changes

Author(s)

mg14


deepSNV documentation built on Nov. 8, 2020, 8:01 p.m.