Description Usage Arguments Value Examples
View source: R/calculatesilhouette.R
Calculate Silhouette width from PCA space for each cell after clustering This is calculated from Seurat object
1 | CalculateSilhouette(object, dims = 1:50)
|
object |
A Seurat object with Idents set to cluster ids (factors) |
dims |
default 1:50 dimension to use in the PCA space to calculate eucledian distance |
a dataframe with silhouette width for each cell. see also silhouette
1 | CalculateSilhouette(pbmc_small, dims = 1:15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.