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

filter-on-methodsR Documentation

Methods for Function %on% in Package ‘flowCore’

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

e1 %on% e2

Arguments

e1

a filter, transform, or transformList object

e2

a transform, transformList, flowFrame, or flowSet object

Author(s)

B. Ellis

Examples


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)



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