silhouette_seurat | R Documentation |
Perform silhouette scoring on a Seurat object.
silhouette_seurat(
sobject,
cluster_col = "seurat_clusters",
dims = c(1:10),
reduction = "pca"
)
sobject |
A Seurat object containing all of the cells for analysis (required) |
cluster_col |
A column name containing the cluster assignments for cells |
dims |
Numeric vector of PCA dimensions to use |
reduction |
The reduction data used (default is "pca"). |
This function takes in a Seruat object and runs silhouette scoring
A silhouette object
## Not run:
sil <- silhouette_seurat(sobject = seurat_obj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.