ruleOutliers,flowClust-method {flowClust} | R Documentation |
This method shows or modifies the rule used to identify outliers.
## S4 method for signature 'flowClust': ruleOutliers(object) ruleOutliers(object) <- value
object |
Object returned from flowClust or filter . |
value |
A list object with one or more of the following named elements: level , u.cutoff and z.cutoff . Their interpretations are the same as those of the corresponding arguments in the flowClust function. Note that when both level and u.cutoff are missing, the rule set by the original value of level or u.cutoff will be unchanged rather than removed. Likewise, when z.cutoff is missing, the rule set by the original value of z.cutoff will be retained. |
The replacement method modifies object@ruleOutliers
(or object[[k]]@ruleOutliers
if object
is of class flowClustList
or tmixFilterResultList
) AND updates the logical vector object@flagOutliers
(or object[[k]]@ruleOutliers
) according to the new rule.
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) summary(res) # change the rule to call outliers ruleOutliers(res) <- list(z.cutoff=0.9) # more outliers now summary(res) ruleOutliers(res) <- list(level=0.95, z.cutoff=0) # augmented cluster boundaries lead to fewer outliers summary(res)