filter-on-methods | R Documentation |
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.
e1 %on% e2
e1 |
a |
e2 |
a |
B. Ellis
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.