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.
mapply(FUN, ..., MoreArgs=NULL, SIMPLIFY=TRUE, USE.NAMES=TRUE)
?base::mapply
for a description of
these arguments.
?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.
base::mapply
for the default mapply
method.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
mapply # note the dispatch on the '...' arg only
showMethods("mapply")
selectMethod("mapply", "ANY") # the default method
Run the code above in your browser using DataLab