Skip to main content
Glama

draw_graph

Visualize single-cell RNA sequencing data using force-directed graph drawing. Customize layouts (fa, fr, kk), define node positions, and ensure reproducibility for clear, interpretable representations.

Instructions

Force-directed graph drawing for visualization

Input Schema

NameRequiredDescriptionDefault
init_posNoInitial position for nodes ('paga'/True, False, or .obsm key)
key_added_extNoSuffix for storing results in .obsm
layoutNoGraph layout algorithm ('fa', 'fr', 'kk', etc.)fa
n_jobsNoNumber of jobs for parallel computation
neighbors_keyNoKey for neighbors settings in .uns
obspNoKey for adjacency matrix in .obsp
random_stateNoRandom seed for reproducibility
rootNoRoot node for tree layouts

Input Schema (JSON Schema)

{ "description": "Input schema for the force-directed graph drawing tool.", "properties": { "init_pos": { "anyOf": [ { "type": "string" }, { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Initial position for nodes ('paga'/True, False, or .obsm key)", "title": "Init Pos" }, "key_added_ext": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Suffix for storing results in .obsm", "title": "Key Added Ext" }, "layout": { "default": "fa", "description": "Graph layout algorithm ('fa', 'fr', 'kk', etc.)", "title": "Layout", "type": "string" }, "n_jobs": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Number of jobs for parallel computation", "title": "N Jobs" }, "neighbors_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Key for neighbors settings in .uns", "title": "Neighbors Key" }, "obsp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Key for adjacency matrix in .obsp", "title": "Obsp" }, "random_state": { "default": 0, "description": "Random seed for reproducibility", "title": "Random State", "type": "integer" }, "root": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Root node for tree layouts", "title": "Root" } }, "title": "DrawGraphModel", "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