HRCHY-CytoCommunity API Reference
This section introduces the core module and function interface of HRCHY-CytoCommunity
models
|
Hierarchical Community Detection Model (base model) |
|
Hierarchical Community Detection Model (full model) |
identify the optimal clustering number for HRCHY-CytoCommunity model based on clustering stability |
Dataset
|
Spatial omics dataset loader for HRCHY-CytoCommunity. |
Preprocessing
Formulate HRCHY-CytoCommunity input files from a single-cell spatial transcriptomics AnnData object. |
|
|
Formulate HRCHY-CytoCommunity input files from an AnnData object of spatial transcriptomics data with cell type deconvolution results. |
|
Construct a K-Nearest Neighbor (KNN) graph and optionally save it to file. |
Visualize
|
Load spatial coordinate and optional annotation data for a specific region graph. |
|
Visualize spatial scatter plots colored by cluster or cell-type labels. |
|
Visualize a heatmap for a given matrix or DataFrame. |