Learn R Programming

flowCore (version 1.38.2)

each_col: 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

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'.

See Also

apply

Examples

Run this code

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

Run the code above in your browser using DataLab