FlowCytometryTools.QuadGate

class FlowCytometryTools.QuadGate(vert, channels, region, name=None)[source]

Passes events in a given quadrant of a 2d-plot.

Parameters:
  • vert (tuple) – A tuple of length 2: (x_center, y_center) Specifies the center of the quad gate.
  • channels ([‘channel 1 name’, ‘channel 2 name’]) – Defines the names of the channels
  • region ([‘top left’, ‘top right’, ‘bottom left’, ‘bottom right’]) – For example, if ‘top left’, the gate only passes through data that lies in the top left region.
  • name (str) – The gate’s name.
__init__(vert, channels, region, name=None)[source]

Passes events in a given quadrant of a 2d-plot.

Parameters:
  • vert (tuple) – A tuple of length 2: (x_center, y_center) Specifies the center of the quad gate.
  • channels ([‘channel 1 name’, ‘channel 2 name’]) – Defines the names of the channels
  • region ([‘top left’, ‘top right’, ‘bottom left’, ‘bottom right’]) – For example, if ‘top left’, the gate only passes through data that lies in the top left region.
  • name (str) – The gate’s name.

Methods

__init__(vert, channels, region[, name]) Passes events in a given quadrant of a 2d-plot.
plot([flip, ax_channels, ax]) Plots the gate.
validiate_input() Optional method to be defined by derived class

Attributes

region The region of the gate that passes events.
unnamed_gate_num int(x=0) -> int or long