Map,flowClust-method {flowClust} | R Documentation |
This method performs cluster assignment according to the posterior probabilities of clustering memberships resulted from the clustering (filtering) operations. Outliers identified will be left unassigned by default.
## S4 method for signature 'flowClust': Map(f, rm.outliers=TRUE, ...)
f |
Object returned from flowClust or filter . |
rm.outliers |
A logical value indicating whether outliers will be left unassigned or not. |
... |
Further arguments to be passed to or from other methods. |
A numeric vector of size N (the number of observations) indicating to which cluster each observation is assigned. Unassigned observations will be labelled as NA
.
Even if rm.outliers
is set to FALSE
, NA
may still appear in the resultant vector due to the filtered observations; see the descriptions about the min.count
, max.count
, min
and max
arguments of flowClust
.
Raphael Gottardo <raph@stat.ubc.ca>, Kenneth Lo <c.lo@stat.ubc.ca>
Lo, K., Brinkman, R. R. and Gottardo, R. (2008) Automated Gating of Flow Cytometry Data via Robust Model-based Clustering. Cytometry A 73, 321-332.
res <- flowClust(iris[,1:4], K=3) Map(res) Map(res, rm.outliers=FALSE)