gdapply {BSgenome}R Documentation

Applies a function to elements of a GenomeData

Description

WARNING: Starting with BioC 3.1, GenomeData and GenomeDataList objects are defunct. Note that the GenomeData/GenomeDataList containers predate the GRanges/GRangesList containers and, most of the times, the latters can be used instead of the formers. Please let us know on the bioc-devel mailing list (http://bioconductor.org/help/mailing-list/) if you have a use case where you think there are significant benefits in using GenomeData/GenomeDataList over GRanges/GRangesList, or if you have questions or concerns about this.

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

See Also

GenomeData-class, GenomeDataList-class


[Package BSgenome version 1.36.2 Index]