Apply a function over cytometry objects
cyto_apply(x, FUN, ..., simplify = TRUE, use.exprs = FALSE)
| x | object of class |
|---|---|
| FUN | function to apply to each |
| ... | optional arguments to |
| simplify | logical indicating whether the resulting list should be
simplified into a flowSet or bound into a matrix or data.frame using
|
| use.exprs | logical indicating whether the function should be applied to the raw data in each flowFrame, set to FALSE by default. |
Dillon Hammill, Dillon.Hammill@anu.edu.au
library(CytoExploreRData) # Activation dataset fs <- Activation # Sample each flowFrame fs <- cyto_apply(fs, cyto_sample)