applyZMWs: Apply Function to ZMWs

Description Usage Arguments Details Value See Also

Description

Apply a function across ZMWs of a trace file. This function performs computation in blocks to avoid inevitable memory issues associated with the typical size of trc.h5 files.

Usage

1
   applyZMWs(trcH5, fx, ..., .whichZMWs = NULL, .blockSize = 100)

Arguments

trcH5

An object of class trc.h5

fx

A function to apply to the channel by frame matrix.

...

Extra arguments to fx

.whichZMWs

To which ZMWs should the function be applied.

.blockSize

Tuning parameter for adjusting the number of ZMWs that are brought into memory at any one time.

Details

This function is only mildly supported. The prospect of performing large scale computations on trc.h5 files in R is daunting.

Value

A list with the results of each application of fx

See Also

PacBioTrcH5-class


PacificBiosciences/R-pbh5 documentation built on May 7, 2019, 11:54 p.m.