API Reference#
Models#
Core Models#
Spatial Variational Autoencoder for spatial transcriptomics. |
|
Base class for all spatial transcriptomics models. |
External Models#
AMICI model for cell-cell interaction inference. |
|
VIVS model for identifying spatially variable genes. |
|
Starfysh model for spatial deconvolution with histology. |
|
Harreman model for metabolic exchange inference. |
|
High-level interface to the NOLAN spatial niche model. |
|
Language-model based cell type annotation. |
|
Static methods for prediction-powered inference. |
|
Interface to the SPARL representation learning model. |
|
Wrapper for scvi-tools scVIVA model. |
|
Wrapper for scvi-tools ResolVI model. |
|
Wrapper for scvi-tools DestVI model. |
Modules#
Spatial VAE module for gene expression modeling. |
|
Module for niche-aware spatial analysis. |
|
Module for spatial deconvolution. |
Data#
Compute spatial nearest neighbors. |
|
Compute neighborhood cell type composition. |
|
Generate synthetic spatial transcriptomics data. |
|
Generate synthetic single-cell RNA-seq data. |
Neural Network Components#
Encoder that incorporates spatial context. |
|
Decoder that can incorporate spatial context for reconstruction. |
|
Spatial attention mechanism that weights neighbors by distance. |
|
Attention mechanism for aggregating neighbor information. |
Training#
Training plan with spatial-specific features. |
|
Training plan for niche-aware models. |
|
Training plan for spatial deconvolution models. |
Utilities#
Compute spatial autocorrelation for genes. |
|
Plot cells in spatial coordinates. |
|
Plot cell type proportions in spatial coordinates. |