polytopeGate: Define filter boundaries

Description Usage Arguments Details Value Author(s) See Also

View source: R/AllClasses.R


Convenience methods to facilitate the construction of filter objects


polytopeGate(..., .gate, b, filterId="defaultPolytopeGate")



An optional parameter that sets the filterId of this gate.


A definition of the gate. This can be either a list, vector or matrix, described below.


Need documentation


You can also directly describe a gate without wrapping it in a list or matrix, as described below.


These functions are designed to be useful in both direct and programmatic usage.

For rectangle gate in n dimensions, if n=1 the gate correspond to a range gate. If n=2, the gate is a rectangle gate. To use this function programmatically, you may either construct a list or you may construct a matrix with n columns and 2 rows. The first row corresponds to the minimal value for each parameter while the second row corresponds to the maximal value for each parameter. The names of the parameters are taken from the column names as in the third example.

Rectangle gate objects can also be multiplied together using the * operator, provided that both gate have orthogonal axes.

For polygon gate, the boundaries are specified as vertices in 2 dimensions, for polytope gate objects as vertices in n dimensions.

For quadrant gates, the boundaries are specified as a named list or vector of length two.


Returns a rectangleGate or polygonGate object for use in filtering flowFrames or other flow cytometry objects.


F.Hahne, B. Ellis N. Le Meur

See Also

flowFrame, filter

Bioconductor-mirror/flowCore documentation built on July 7, 2017, 11:55 p.m.