dendrogram
Generate hierarchical clustering dendrograms for single-cell RNA sequencing data. Group observations, specify correlation methods, and customize clustering parameters to visualize relationships in SCMCP MCP server.
Instructions
Hierarchical clustering dendrogram
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cor_method | No | Correlation method to use: 'pearson', 'kendall', or 'spearman'. | pearson |
groupby | Yes | The categorical observation annotation to use for grouping. | |
key_added | No | By default, the dendrogram information is added to .uns[f'dendrogram_{groupby}']. | |
linkage_method | No | Linkage method to use for hierarchical clustering. | complete |
n_pcs | No | Use this many PCs. If n_pcs==0 use .X if use_rep is None. | |
optimal_ordering | No | Reorders the linkage matrix so that the distance between successive leaves is minimal. | |
use_raw | No | Only when var_names is not None. Use raw attribute of adata if present. | |
use_rep | No | Use the indicated representation. 'X' or any key for .obsm is valid. | |
var_names | No | List of var_names to use for computing the hierarchical clustering. If provided, use_rep and n_pcs are ignored. |