mapply {BiocGenerics} | R Documentation |
Apply a function to multiple list-like or vector-like arguments
Description
mapply
is a multivariate version of
sapply
. mapply
applies
FUN
to the first elements of each ...
argument,
the second elements, the third elements, and so on. Arguments
are recycled if necessary.
NOTE: This man page is for the mapply
S4 generic function
defined in the BiocGenerics package.
See ?base::mapply
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.
Usage
mapply(FUN, ..., MoreArgs=NULL, SIMPLIFY=TRUE, USE.NAMES=TRUE)
Arguments
FUN , MoreArgs , SIMPLIFY , USE.NAMES |
See |
... |
One or more list-like or vector-like objects of strictly positive length, or all of zero length. |
Value
See ?base::mapply
for the value returned by the
default method.
Specific methods defined in Bioconductor packages should behave as consistently as possible with the default method.
See Also
-
base::mapply
for the defaultmapply
method. -
showMethods
for displaying a summary of the methods defined for a given generic function. -
selectMethod
for getting the definition of a specific method. -
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
Examples
mapply # note the dispatch on the '...' arg only
showMethods("mapply")
selectMethod("mapply", "ANY") # the default method