glpolygon-methods {flowViz} | R Documentation |
These methods extend the lattice lpolygon
methods for drawing of filter
regions. They allow for multiple dispatch, since not all
filter
types need to be evaluated for
plotting, but this decision should be made internally.
When plotting code{flowFrame}s using the any of
the lattice-type plot
method provided by flowViz
, the
plotted parameters are recorded, which makes it possible to correctly
overlay the outlines of filter
s assuming that
they are defined for the repective parameters. Warnings and error will
be cast for the cases where the parameters are non-distinct or
ambigious. These methods are meant to be used within lattice panel
functions and are probably not of much use outside of those.
The methods will return the outlines of the gate region as polygon vertices.
filter
. This
is used as the default when no more explicit method is found. It
tries to find the plotted parameters from the internal
flowViz.state
environment. This only works if the flow data
has been plotted using the plot
methods provided by this
flowViz
package. filterResult
object. This basically
extracts the filter
from the
filterResult
and dispatches on
that. filter
types we need the raw data
to re-evaluate the filter. filterResult
or the raw data as a
flowFrame
for
curv1Filter
s. filterResult
or the raw data as a
flowFrame
for
curv2Filter
s.kmeansFilter
, hence we
warn. filterResult
or the raw data as a
flowFrame
for
norm2Filter
s.polygonGate
directly from the gate
definition. quadGate
directly from the gate
definition. rectangleGate
directly from the gate
definition. rectangleGate
directly from the gate
definition.
F. Hahne