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
Name | Required | Description | Default |
---|---|---|---|
init_pos | No | Initial position for nodes ('paga'/True, False, or .obsm key) | |
key_added_ext | No | Suffix for storing results in .obsm | |
layout | No | Graph layout algorithm ('fa', 'fr', 'kk', etc.) | fa |
n_jobs | No | Number of jobs for parallel computation | |
neighbors_key | No | Key for neighbors settings in .uns | |
obsp | No | Key for adjacency matrix in .obsp | |
random_state | No | Random seed for reproducibility | |
root | No | Root node for tree layouts |