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

Description Usage Arguments Author(s)


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


e1 %&% e2
e1 %subset% e2


e1, e2

filter objects or lists of filter objects


B. Ellis

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