\HeaderA{gpoints-methods}{Adding points within a gate to a plot}{gpoints.Rdash.methods}
\aliasA{gpoints}{gpoints-methods}{gpoints}
\methaliasA{gpoints}{gpoints-methods}{gpoints}
\aliasA{gpoints,curv1Filter,flowFrame,character-method}{gpoints-methods}{gpoints,curv1Filter,flowFrame,character.Rdash.method}
\aliasA{gpoints,curv2Filter,flowFrame,character-method}{gpoints-methods}{gpoints,curv2Filter,flowFrame,character.Rdash.method}
\aliasA{gpoints,filter,flowFrame,missing-method}{gpoints-methods}{gpoints,filter,flowFrame,missing.Rdash.method}
\aliasA{gpoints,filter,missing,ANY-method}{gpoints-methods}{gpoints,filter,missing,ANY.Rdash.method}
\aliasA{gpoints,filterResult,flowFrame,character-method}{gpoints-methods}{gpoints,filterResult,flowFrame,character.Rdash.method}
\aliasA{gpoints,kmeansFilter,flowFrame,character-method}{gpoints-methods}{gpoints,kmeansFilter,flowFrame,character.Rdash.method}
\aliasA{gpoints,norm2Filter,flowFrame,character-method}{gpoints-methods}{gpoints,norm2Filter,flowFrame,character.Rdash.method}
\aliasA{gpoints,polygonGate,flowFrame,character-method}{gpoints-methods}{gpoints,polygonGate,flowFrame,character.Rdash.method}
\aliasA{gpoints,quadGate,flowFrame,character-method}{gpoints-methods}{gpoints,quadGate,flowFrame,character.Rdash.method}
\aliasA{gpoints,rectangleGate,flowFrame,character-method}{gpoints-methods}{gpoints,rectangleGate,flowFrame,character.Rdash.method}
\keyword{methods}{gpoints-methods}
\begin{Description}\relax
These methods extend the basic graphics
\code{\LinkA{points}{points}} methods for drawing of points contained within a
\code{\LinkA{filter}{filter}}. They allow for multiple
dispatch, since not all \code{\LinkA{filter}{filter}} types
need to be evaluated for plotting, but this decision should be made
internally. In any case, we need the raw data in the form of a
\code{\LinkA{flowFrame}{flowFrame}}.
\end{Description}
\begin{Details}\relax
When plotting \code{\LinkA{flowFrame}{flowFrame}}s
using the \code{plot} method provided by \code{flowViz}, the plotted
parameters are recorded, which makes it possible to correctly overlay the
points within \code{\LinkA{filter}{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.
\end{Details}
\begin{Section}{Methods}
\describe{

\item[x = "filter", data = "flowFrame", channels = "missing"] General method for all objects inheriting from
\code{\LinkA{filter}{filter}}. This is used as the default
when no more explicit method is found. It tries to find the
plotted parameters from the internal \code{flowViz.state}
environment. This only works if the flow data has been plotted
using the \code{plot} methods provided by this \code{flowViz}
package. 

\item[x = "filter", data = "missing", channels = "ANY"] This gives
a useful error message when we don't get what we need. 

\item[x = "filterResult", data = "flowFrame", channels =
"character"] We can get all the information about a
\code{\LinkA{filter}{filter}} from its
\code{\LinkA{filterResult}{filterResult}} without the need to
re-evaluate.



\item[x = "curv1Filter", data = "ANY"] We either need a
\code{\LinkA{filterResult}{filterResult}} or the raw data as a
\code{\LinkA{flowFrame}{flowFrame}} for
\code{\LinkA{curv1Filter}{curv1Filter}}s. 

\item[x = "curv1Filter", data = "flowFrame"] see above 

\item[x = "curv1Filter", data = "missing"] see above 

\item[x = "curv1Filter", data = "multipleFilterResult"] see above 

\item[x = "curv2Filter", data = "ANY"] We either need a
\code{\LinkA{filterResult}{filterResult}} or the raw data as a
\code{\LinkA{flowFrame}{flowFrame}} for
\code{\LinkA{curv2Filter}{curv2Filter}}s.

\item[x = "curv1Filter", data = "flowFrame", channels =
"character"] We evaluate the
\code{\LinkA{filter}{filter}} on the
\code{\LinkA{flowFrame}{flowFrame}} and plot the subset of
selected points. By default, every subpopulation (if there are
any) is colored differently.

\item[x = "curv2Filter", data = "flowFrame", channels = "character"] see above 

\item[x = "kmeansFilter", data = "flowFrame", channels =
"character"] see above 

\item[x = "norm2Filter", data = "flowFrame", channels =
"character"] see above 

\item[x = "polygonGate", data = "flowFrame", channels =
"character"] see above 

\item[x = "quadGate", data = "flowFrame", channels = "character"] see above 

\item[x = "rectangleGate", data = "flowFrame", channels =
"character"] see above 

}
\end{Section}
\begin{Author}\relax
F. Hahne
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{filter}{filter}}, \code{\LinkA{flowFrame}{flowFrame}},
\code{\LinkA{glines}{glines}}, \code{\LinkA{gpolygon}{gpolygon}}
\end{SeeAlso}

