Learn R Programming

flowViz (version 1.36.2)

glpolygon-methods: Drawing filter regions

Description

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.

Usage

## S3 method for class 'filter,missing':
glpolygon(x, data, verbose = TRUE,
  gpar = flowViz.par.get(), strict = TRUE, ...)

Arguments

x
filter or filterResult or any derived filter class
data
flowFrame or filterResult or character or missing or ANY
verbose
logical
gpar
a list of graphical parameters. see 'help(flowViz.par.get)' for details.
strict
logical
...
other arguments

Value

  • The methods will return the outlines of the gate region as polygon vertices.

Details

When plotting flowFrames 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 assuming that they are defined for the respective 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.

See Also

filter, flowFrame, glpoints