Usage
"density"(x, data=NULL, subset=c(1,2), include=1:(x@K), npoints=c(100,100), from=NULL, to=NULL)
Arguments
x
Object returned from flowClust or from running filter on a flowFrame object. data
A matrix, data frame of observations, or object of class flowFrame. This is the object on which flowClust or filter was performed. If this argument is not specified, the grid square upon which densities will be computed must be provided (through arguments from and to).
subset
A numeric vector of length two indicating which two variables are selected for the scatterplot. Alternatively, a character vector containing the names of the two variables is allowed if x@varNames is not NULL.
include
A numeric vector specifying which clusters are included to compute the density values. By default, all clusters are included.
npoints
A numeric vector of size two specifying the number of grid points in $x$ (horizontal) and $y$ (vertical) directions respectively.
from
A numeric vector of size two specifying the coordinates of the lower left point of the grid square. Note that, if this (and to) is not specified, data must be provided such that the range in the two variables (dimensions) selected will be used to define the grid square.
to
A numeric vector of size two specifying the co-ordinates of the upper right point of the grid square.