csApply: Apply a function over the intensities in a cytoSet
Description
This a wrapper for sapply for
objects of class cytoSet.
Usage
csApply(X, FUN, ..., simplify = TRUE)
Arguments
X
cytoSet.
FUN
the function to be applied.
...
optional arguments to FUN.
simplify
logical; should the result be simplified to a vector or
matrix if possible? Gets passed on the sapply.
Value
sapply:
If FUN always returns a scalar, then the value of
this function is a named vector.
If FUN always returns a vector of length n,
then the value of this function is an n x length(X)
matrix with dimnames.
Else, the value of this function is a named list whose
values are the return values of the individual calls to FUN.