This function generates plots for silhouette scores.
plot_silhouette_scores(seurat_obj, cluster_col)
Arguments
- seurat_obj
A Seurat object with silhouette scores in metadata.
- cluster_col
A column name in the metadata specifying clusters.
Examples
library(Seurat)
# Assuming seurat_obj is a Seurat object and silhouette scores are calculated
plot_silhouette_scores(seurat_obj, "Cell_line")
#> Error in plot_silhouette_scores(seurat_obj, "Cell_line"): Column Cell_line not found in metadata