API#
Preprocessing#
|
Create a basic leiden-pre-clustering and spatial graph. |
|
Compute the R-squared value via linear regression. |
Tools#
|
|
|
|
|
|
|
|
|
Extract communication metagenes. |
|
Learn a model with the given parameters to rank input genes list by importance. |
Plotting#
|
Calculate and plot the ROC-AUC of spot clustering using metagenes. |
|
Create Attention Matrix plot. |
|
Create Attention PCA plot. |
|
Create Attention UMAP plot. |
|
Compute the saliency map of the model. |
|
Create Top k sender and receiver genes plot. |
|
Create Top k genes plot (sorted by saliency scores). |
|
Create Model PCA plot. |
|
Create Model UMAP plot. |