cluster2outlier {CONFESS} | R Documentation

## cluster2outlier

### Description

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

### Usage

    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

    ### 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))

[Package CONFESS version 1.10.1 Index]