filter-on-methods: Methods for Function %on% in Package 'flowCore'

Description Usage Arguments Author(s) Examples

Description

This operator is used to construct a transformFilter that first applies a transformList to the data before applying the filter operation. You may also apply the operator to a flowFrame or flowSet to obtain transformed values specified in the list.

Usage

1
e1 %on% e2

Arguments

e1

a filter, transform, or transformList object

e2

a transform, transformList, flowFrame, or flowSet object

Author(s)

B. Ellis

Examples

1
2
3
4
5
6
7
8
9
samp <- read.FCS(system.file("extdata","0877408774.B08", package="flowCore"))
plot(transform("FSC-H"=log, "SSC-H"=log) %on% samp)


rectangle <- rectangleGate(filterId="rectangleGateI","FSC-H"=c(4.5, 5.5))
sampFiltered <- filter(samp, rectangle %on% transform("FSC-H"=log, "SSC-H"=log))
res <- Subset(samp, sampFiltered)

plot(transform("FSC-H"=log, "SSC-H"=log) %on% res)

flowCore documentation built on Nov. 8, 2020, 5:19 p.m.