COSIE.downstream_analysis.visualize_section_cluster_centroids_dendrogram

visualize_section_cluster_centroids_dendrogram(embedding, labels, section_name='section')[source]

Visualize hierarchical clustering dendrogram within a single section.

Parameters

embeddingnp.ndarray

Array of shape (n_cells, d), the embedding of cells from one section.

labelsnp.ndarray or list

Array of shape (n_cells,), the cluster labels for each cell in the section.

section_namestr

Name of the section, used for labeling.

Returns

None