silhouette_cluster_mean | R Documentation |
Calculate the average silhouette score from each cluster in a silhouette object
silhouette_cluster_mean(sil_obj)
sil_obj |
A silhouette object |
This function takes in a silhouette object and returns a vector of mean silhouette scores for each cluster
A numeric value
## Not run:
sil <- silhouette_seurat(sobject = seurat_obj)
sil_cluster_mean <- silhouette_cluster_mean(sil_obj = sil)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.