Scale a Gate-type filter object in one or more dimensions
Either a numeric scalar (for uniform scaling in all dimensions) or numeric vector specifying the factor by which each dimension of the gate should be expanded (absolute value > 1) or contracted (absolute value < 1). Negative values will result in a reflection in that dimension.
Additional arguments not used
This method allows uniform or non-uniform geometric scaling of filter types defined by simple geometric gates
polygonGate) Note that these methods are for manually altering
the geometric definition of a gate. To easily transform the definition of a gate with an accompanyging scale
transformation applied to its underlying data, see
scale argument passed to
scale_gate should be either a scalar or a vector of the same length
as the number of dimensions of the gate. If it is scalar, all dimensions will be multiplicatively scaled uniformly
by the scalar factor provided. If it is a vector, each dimension will be scaled by its corresponding entry in the vector.
The scaling behavior of
scale_gate depends on the type of gate passed to it. For
quadGate objects, this amounts to simply scaling the values of the 1-dimensional boundaries.
polygonGate objects, the values of
scale will be used to determine scale factors
in the direction of each of the 2 dimensions of the gate (
scale_gate is not yet defined
polytopeGate objects). Important: For
determines scale factors for the major and minor axes of the ellipse, in that order. Scaling by a negative factor
will result in a reflection in the corresponding dimension.
filter object of the same type as
gate, with the scaling applied
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.