Apply a function over cytometry objects

cyto_apply(x, FUN, ..., simplify = TRUE, use.exprs = FALSE)

Arguments

x

object of class flowSet or cytoset.

FUN

function to apply to each flowFrame or cytoframe in the supplied flowSet or cytoset.

...

optional arguments to FUN.

simplify

logical indicating whether the resulting list should be simplified into a flowSet or bound into a matrix or data.frame using rbind, set to TRUE by default.

use.exprs

logical indicating whether the function should be applied to the raw data in each flowFrame, set to FALSE by default.

See also

Author

Dillon Hammill, Dillon.Hammill@anu.edu.au

Examples

library(CytoExploreRData) # Activation dataset fs <- Activation # Sample each flowFrame fs <- cyto_apply(fs, cyto_sample)