Unsupervised way to choose the optimal clustering resolutions or number of clusters. Computes distance matrix based on correlation distance and calculate silhouette scores for a given clustering result. Outputs a silhouette class object and produces a Silhouette plot.
1 | Silhouette(object, cluster_ident, data_from = "pca")
|
object |
Seurat object. |
cluster_ident |
Identity class of clustering. |
data_from |
By default, data_from = "pca", extract pca embedding as input. In case of data_from = "expression", "data" slot of the expression matrix is used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.