episcanpy.api.pl.silhouette

episcanpy.api.pl.silhouette(adata_name, cluster_annot, value='X_pca', metric='euclidean', key=None, xlabel=None, ylabel=None, title=None, size='large', alternative_plot=False, name_cluster=True, name_cluster_pos='left', palette=None, save=None)

Plot the product of tl.silhouette as a silhouette plot

Parameters
adata_name : AnnData object

cluster_annot : observational variable corresponding to a cell clustering

value : measure used to build the silhouette plot (X_pca, X_tsne, X_umap)

metric : 'euclidean'

key : specify name of precomputed silhouette scores if not standard

Returns

Silhouette plot