A class for encapsulating a filter to be performed on transformed parameters

Share:

Description

The transformFilter class is a mechanism for including one or more variable transformations into the filtering process. Using a special case of transform we can introduce transformations inline with the filtering process eliminating the need to process flowFrame objects before applying a filter.

Objects from the Class

Objects of this type are not generally created “by hand”. They are a side effect of the use of the %on% method with a filter object on the left hand side and a transformList on the right hand side.

Slots

transforms:

A list of transforms to perform on the target flowFrame

filter:

The filter to be applied to the transformed frame

filterId:

The name of the filter (chosen automatically)

Extends

Class "filter", directly.

Author(s)

B. Ellis

See Also

"filter", "transform", transform

Examples

1
2
3
4
5
6
samp <- read.FCS(system.file("extdata", "0877408774.B08", package="flowCore"))

## Gate this object after log transforming the forward and side
## scatter variables
filter(samp, norm2Filter("FSC-H", "SSC-H", scale.factor=2)
       %on% transform("FSC-H"=log,"SSC-H"=log))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.