cluster2outlier {CONFESS} | R Documentation |
It turns one or more selected clusters to outlier clusters, i.e. clusters consisting of outlying corrected signals.
cluster2outlier(data, out.cluster)
data |
List. The output of Fluo_inspection(). |
out.cluster |
Numeric vector. The cluster number(s) to be turned into outlier clusters. |
A list of corrected fluorescence signal estimates with the selected clusters turned into outlier clusters.
### here we (erroneously) assume that cluster 1 is an outlier and we flag it so below step3.withoutliers <- cluster2outlier(step3,out.cluster=1) ### the outlier samples can be removed by FluoSelection_byRun() step3.withoutliers <- FluoSelection_byRun(step3.withoutliers, other=which(step3.withoutliers$GAPgroups[,1]!=-999))