cluster2outlier: cluster2outlier

Description Usage Arguments Value Examples

View source: R/fluo_NBE.R

Description

It turns one or more selected clusters to outlier clusters, i.e. clusters consisting of outlying corrected signals.

Usage

1
cluster2outlier(data, out.cluster)

Arguments

data

List. The output of Fluo_inspection().

out.cluster

Numeric vector. The cluster number(s) to be turned into outlier clusters.

Value

A list of corrected fluorescence signal estimates with the selected clusters turned into outlier clusters.

Examples

1
2
3
4
5
6
### 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))

CONFESS documentation built on Nov. 8, 2020, 6:05 p.m.