COSIE.downstream_analysis
Functions
Cluster cell embeddings and visualize the results for each tissue section at the spot level. |
|
Perform clustering on superpixel embeddings across multiple tissue sections and visualize the results. |
|
Create a new AnnData object by min-max scaling the expression matrix of the input adata. |
|
Visualize and highlight specified clusters across all tissue sections. |
|
Merge specified cluster IDs into new classes with IDs starting from current max + 1. |
|
Perform KNN-based prediction for a specific modality in a target tissue section. |
|
Visualize cluster maps from 2D cluster masks. |
|
Compare the spatial expression pattern of a specified molecule (e.g., gene, protein..) across two tissue sections at the spot level, each represented by an AnnData object. |
|
Plot side-by-side spatial expression comparison of a target molecule at the superpixel level. |
|
Prepare a 2D image from molecule expression and spatial coordinates in an AnnData object. |
|
Relabel all cluster IDs across sections to contiguous integers starting from 0. |
|
Truncate expression data based on non-zero values to reduce the impact of extreme outliers in visualization. |
|
Visualize dendrogram for clusters shared across sections. |
|
Visualize hierarchical clustering dendrogram within a single section. |