Rotate a gate associated with a node of a
GatingSet. This method is a wrapper for
rotate_gate that enables
updating of the gate associated with a node of a
gs_pop_set_gate to modify the provided
directly so there is no need to re-assign its output. The arguments will be essentially identical to the
flowCore method, except for the specification of the target gate. Rather than being called on an
object of type
flowCore:filter, here it is called on a
object with an additional character argument for specifying the node whose gate should be transformed.
The rest of the details below are taken from the
A character specifying the node whose gate should be modified
An angle in degrees by which the gate should be rotated in the counter-clockwise direction
A separate 2-dimensional center of rotation for the gate, if desired. By default, this will
be the center for
This method allows for geometric rotation of filter types defined by simple geometric gates
polygonGate). The method is not defined
quadGate objects, due to their definition as having 1-dimensional boundaries.
The angle provided in the
deg argument should be in degrees rather than radians. By default, the rotation
will be performed around the center of an
ellipsoidGate or the centroid of the area encompassed by
rot_center argument allows for specification of a different center of rotation
polygonGate objects (it is not yet implemented for
ellipsoidGate objects) but
it is usually simpler to perform a rotation and a translation individually than to manually specify
the composition as a rotation around a shifted center.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.