tapply {BiocGenerics} | R Documentation |
tapply
applies a function to each cell of a ragged array,
that is to each (non-empty) group of values given by a unique
combination of the levels of certain factors.
NOTE: This man page is for the tapply
S4 generic function
defined in the BiocGenerics package.
See ?base::tapply
for the default method
(defined in the base package).
Bioconductor packages can define specific methods for objects
(typically list-like or vector-like) not supported by the
default methods.
tapply(X, INDEX, FUN=NULL, ..., simplify=TRUE)
X |
A list-like or vector-like R object. |
INDEX, FUN, ..., simplify |
See |
See ?base::tapply
for the value returned by the
default method.
Specific methods defined in other Bioconductor packages should behave as consistently as possible with the default method.
base::tapply
for the default tapply
method.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
tapply,Vector-method in the IRanges package
for the tapply
method defined for Vector
objects.
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
tapply # note the dispatch on the 'X' arg only showMethods("tapply") selectMethod("tapply", "ANY") # the default method