silhouette_to_df | R Documentation |
This function takes in a seurat object, runs silhouette scoring and returns a data frame. This function is to use with apply in optimize_silhouette instead of a for loop
silhouette_to_df(sobject, res, reduction = "pca")
sobject |
The silhouette object to convert. |
res |
The resolution parameter. |
reduction |
The reduction data used (default is "pca"). |
A data frame containing the silhouette values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.