gdapply {BSgenome}R Documentation

Applies a function to elements of a GenomeData

Description

Returns a list of values obtained by applying a function to elements of a GenomeData or GenomeDataList object.

Usage

gdapply(X, FUN, ...)

Arguments

X An object of class "GenomeData" or "GenomeDataList"
FUN A function to be applied to each chromosome-level sub-element of X.
... Further arguments; passed to FUN

Value

Typically an object of the same class as X.

Author(s)

Deepayan Sarkar


[Package BSgenome version 1.18.3 Index]