each_col: Methods to apply functions over flowFrame margins

each_colR Documentation

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

Author(s)

B. Ellis, N. LeMeur, F. Hahne

See Also

apply

Examples


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



RGLab/flowCore documentation built on Aug. 26, 2024, 8:52 a.m.