Description Usage Arguments Value Examples

View source: R/ShinyFunctions.R

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

1 | ```
get_outl_cells(dataset, labels)
``` |

`dataset` |
expression matrix |

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

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.