csApply {prada} | R Documentation |
This a wrapper for sapply
for
objects of class cytoSet-class
.
csApply(X, FUN, ..., simplify = TRUE)
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 . |
A wrapper for sapply
.
Like 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
.
Wolfgang Huber http://www.ebi.ac.uk/huber
cset=readCytoSet(path=system.file("extdata", package="prada"), pattern="[A-Z][0-9][0-9]$") csApply(cset, nrow) csApply(cset, colMeans)