get_outl_cells {SC3} | R Documentation

## Find cell outliers in each cluster.

### Description

Outlier cells in each cluster are detected using robust distances, calculated using the minimum covariance determinant (MCD), namely using `covMcd`. The outlier score shows how different a cell is from all other cells in the cluster and it is defined as the differences between the square root of the robust distance and the square root of the 99.99

### Usage

    get_outl_cells(dataset, labels)

### Arguments

`dataset` | expression matrix
`labels` | cell labels corresponding to the columns of the expression matrix

### Value

a numeric vector containing the cell labels and correspoding outlier scores ordered by the labels

### Examples

    d <- get_outl_cells(yan[1:10,], as.numeric(ann[,1]))
    head(d)

[Package SC3 version 1.16.0 Index]