Aplying Functions Along MarkerList Objects

Description

Applies a given function to a MarkerList-class object.

Usage

S4 (MarkerList)
`sapply`(X, FUN, ..., ASNEW = FALSE, ARG.NAMES = FALSE, simplify = TRUE, 
  USE.NAMES = TRUE)

Arguments

ASNEW
logical that indicates if the returned object should have all data other than the list identical to X.
ARG.NAMES
logical that indicates if the names of each element should be passed to FUN as a second argument. In this case, the function is applie using mapply, with two vectorised arguments: the list itself and its names.
simplify
logical that indicates if the result should be simplified if possible. If TRUE, then the result is simplified as in sapply. If FALSE, then the result is not simplified, and returned as a MarkerList-class object if possible, or as a list otherwise. If NA, then the result is not simplified, and always returned as a list.
X
A list-like or vector-like R object.
FUN
See ?base::lapply for a description of these arguments.
...
See ?base::lapply for a description of these arguments.
USE.NAMES
See ?base::lapply for a description of these arguments.