Skip to main content
Glama

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

NameRequiredDescriptionDefault
cor_methodNoCorrelation method to use: 'pearson', 'kendall', or 'spearman'.pearson
groupbyYesThe categorical observation annotation to use for grouping.
key_addedNoBy default, the dendrogram information is added to .uns[f'dendrogram_{groupby}'].
linkage_methodNoLinkage method to use for hierarchical clustering.complete
n_pcsNoUse this many PCs. If n_pcs==0 use .X if use_rep is None.
optimal_orderingNoReorders the linkage matrix so that the distance between successive leaves is minimal.
use_rawNoOnly when var_names is not None. Use raw attribute of adata if present.
use_repNoUse the indicated representation. 'X' or any key for .obsm is valid.
var_namesNoList of var_names to use for computing the hierarchical clustering. If provided, use_rep and n_pcs are ignored.

Input Schema (JSON Schema)

{ "description": "Input schema for the hierarchical clustering dendrogram tool.", "properties": { "cor_method": { "default": "pearson", "description": "Correlation method to use: 'pearson', 'kendall', or 'spearman'.", "title": "Cor Method", "type": "string" }, "groupby": { "description": "The categorical observation annotation to use for grouping.", "title": "Groupby", "type": "string" }, "key_added": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "By default, the dendrogram information is added to .uns[f'dendrogram_{groupby}'].", "title": "Key Added" }, "linkage_method": { "default": "complete", "description": "Linkage method to use for hierarchical clustering.", "title": "Linkage Method", "type": "string" }, "n_pcs": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Use this many PCs. If n_pcs==0 use .X if use_rep is None.", "title": "N Pcs" }, "optimal_ordering": { "default": false, "description": "Reorders the linkage matrix so that the distance between successive leaves is minimal.", "title": "Optimal Ordering", "type": "boolean" }, "use_raw": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Only when var_names is not None. Use raw attribute of adata if present.", "title": "Use Raw" }, "use_rep": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Use the indicated representation. 'X' or any key for .obsm is valid.", "title": "Use Rep" }, "var_names": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "List of var_names to use for computing the hierarchical clustering. If provided, use_rep and n_pcs are ignored.", "title": "Var Names" } }, "required": [ "groupby" ], "title": "DendrogramModel", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huang-sh/scmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server