API Reference¶
Config¶
Global configurations for spatialtis |
IO/Preprocessing¶
Extract single cell expression matrix and geometry information from stacked images and masks |
|
Read spatialtis result from AnnData.uns as pandas.DataFrame object |
|
Transform normal coordination in AnnData.obs to wkt-format |
|
Transform normal coordination in AnnData.obs to wkt-format |
Basic analysis¶
Count the proportion of each types of cells in each group |
|
Calculating cell density in each ROI |
|
Cell morphology variation between different groups |
|
The likelihood of two type of cells occur simultaneously in a ROI |
Spatial analysis¶
To find the neighbors of each cell |
|
Cell distribution pattern |
|
Profiling cell-cell interaction using permutation test |
|
Evaluate tissue heterogeneity based on entropy |
|
Spatial auto-correlation for every markers |
|
Profiling markers spatial enrichment using permutation test |
|
Identifying spatial co-expression markers using correlation |
|
Identify neighbor cells dependent marker |
|
Identify neighbor markers dependent marker |
|
This is a wrapper around somde |
|
A pytorch reimplementation of GCNG |
Base class¶
The base class for all analysis function |