Method to apply functions over flowFrame margins

Description

Returns a vector or array of values obtained by applying a function to the margins of a flowFrame. This is equivalent of running apply on the output of exprs(flowFrame).

Usage

1
2
each_col(x, FUN, ...)
each_row(x, FUN, ...)

Arguments

x

Object of class flowFrame.

FUN

the function to be applied. In the case of functions like '+', '%*%', etc., the function name must be backquoted or quoted.

...

optional arguments to 'FUN'.

Author(s)

B. Ellis, N. LeMeur, F. Hahne

See Also

apply

Examples

1
2
3
samp <- read.FCS(system.file("extdata", "0877408774.B08", package="flowCore"),
transformation="linearize")
each_col(samp, summary)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.