sampleCovgApply-methods: sampleCovgApply-methods

Description Usage Arguments Value See Also

Description

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

Usage

1
2
## 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


RnBeads documentation built on March 3, 2021, 2 a.m.