sampleCovgApply,RnBSet-method {RnBeads}R Documentation

sampleCovgApply-methods

Description

Applies a function over the coverage values for all samples in an RnBSet using a low memory footprint.

Usage

## S4 method for signature 'RnBSet'
sampleCovgApply(object, fn, type = "sites", ...)

Arguments

object

object inheriting from RnBSet

fn

function to be applied

type

character singleton. Specify "sites" (default) or a region type over which the function is applied

...

arguments passed on to the function

Value

Result analogous to apply(covg(rnbSet, type), 2, FUN=FUN)

See Also

covg Retrieving the matrix of coverage values


[Package RnBeads version 1.12.1 Index]