filter-and-methods: Take the intersection of two filters

filter-and-methodsR Documentation

Take the intersection of two filters

Description

There are two notions of intersection in flowCore. First, there is the usual intersection boolean operator & that has been overridden to allow the intersection of two filters or of a filter and a list for convenience. There is also the %&% or %subset% operator that takes an intersection, but with subset semantics rather than simple intersection semantics. In other words, when taking a subset, calculations from summary and other methods are taken with respect to the right hand filter. This primarily affects calculations, which are ordinarily calculated with respect to the entire population as well as data-driven gating procedures which will operate only on elements contained by the right hand filter. This becomes especially important when using filters such as norm2Filter

Usage

e1 %&% e2
e1 %subset% e2

Arguments

e1, e2

filter objects or lists of filter objects

Author(s)

B. Ellis


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