Learn R Programming

flowViz (version 1.36.2)

gpolygon-methods: Drawing filter regions

Description

These methods extend the basic graphics polygon 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':
gpolygon(x, data, verbose = TRUE, ...)

Arguments

x
filter or filterResult or any derived filter class
data
flowFrame or filterResult or character or missing or ANY
verbose
logical
...
other arguments

Details

When plotting flowFrames using the plot method provided by flowViz, the plotted parameters are recorded, which makes it possible to correctly overlay the outlines of filters 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.

The flow parameters plotted can be passed on to any of the methods through the optional channels argument, which always gets precedence over automatically detected parameters.

The methods support all plotting parameters that are available for the base polygon functions.

See Also

filter, flowFrame, glines, gpoints