sampleMethApply,RnBSet-method {RnBeads} | R Documentation

## sampleMethApply-methods

### Description

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

### Usage

    ## S4 method for signature 'RnBSet'
    sampleMethApply(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(meth(rnbSet, type), 2, FUN=FUN)`

### See Also

`meth` Retrieving the matrix of methylation values

[Package RnBeads version 2.10.0 Index]