Skip to content

Repository files navigation

DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision

License: MIT Python 3.9+ bioRxiv

Authors: Kalin Nonchev*, Glib Manaiev*, Viktor Hendrik Koelzer+, Gunnar Rätsch+

The preprint is available here.

deepspot2cell

DeepSpot2Cell predicts virtual single-cell spatial transcriptomics as follows: (1) During training, the model takes as input (i) the cropped cell tile defined by the segmentation mask, (ii) the full spot tile covering containing the cell (55μm), and (iii) the neighboring spot tile(s). All tiles are first processed through a pathology foundation model (PFM) before being used to train the model to regress spot-level gene expression; (2) During inference, the model takes as input only the cell tile of interest along with (ii) and (iii), again after PFM processing and predicts the virtual transcriptomic profile at the cell level.

News

Setup

conda env create -f environment.yaml
conda activate deepspot2cell
pip install -e .

Getting Started

You can follow the three-part tutorial notebook series to get started with DeepSpot2Cell:

Pathology Foundation Models

DeepSpot2Cell can be used with different pathology foundation models. The ones it was tested with can be found at their respective Hugging Face pages:

UNI weights

Hoptimus0 weights

Phikon v2 weights

Please adjust the model paths in your config files accordingly.

HEST-1k Dataset

The HEST-1k dataset and its documentation can be found here.

Please adjust the paths in your config files accordingly.

Papers Citing DeepSpot2Cell

  1. Jia-Rui Ouyang, Yi-Hang Gao, Cheng Jin, Yi-Hui Wang, Ying-Xue Xu, Li Liang, Feng-Tao Zhou, Zhi-Yuan Cai, and Hao Chen "A noise-corrected metric for evaluating spatial transcriptomics predicted from histology." bioRxiv (2026). DOI
  2. Kalin Nonchev, Yunsu Jang, Stellor Nlandu Khodo, Viktor Hendrik Koelzer, Gunnar Rätsch, and Matthias B. Moor "Virtual spatial transcriptomics links kidney histopathology to disease-associated molecular programs." medRxiv (2026). DOI
  3. Le-Yang Tao, Xuan Gong, Lu-Yuan Xie, A. Beniwal, Yu-Qi Tan, and Kun-Hsing Yu "SCOPE: Single-Cell Omics Prediction from Histology via RNA-Protein Prior Enhancement." arXiv (2026). DOI
  4. Xi Li, Ya-Qi Hu, Zi-Heng Duan, Chao-Yang Wang, and Jing Zhang "STMoE: Multi-Scale Mixture-of-Experts for Single-Cell Gene Expression Prediction from Histology." Proceedings of the 35th ACM International Conference on Information and Knowledge Management (2026). DOI
  5. Zi-Jun Gao, Yi-Jiang Chen, Xiang-De Luo, and Pheng-Ann Heng "CellPlex: Benchmarking Single-Cell Spatial Proteomics Prediction from H&E." arXiv (2026). DOI
  6. Miguel Andrade, José A. Almeida, Carlos Santiago, and Catarina Barata "From WSIs to Bulk, Spatial and Single-Cell Transcriptomics via Multi-Scale Graph Neural Networks." arXiv (2026). DOI
  7. Thomas Batique, Kalin Nonchev, V. Koelzer, and G. Rätsch "Probabilistic uncertainty in virtual spatial transcriptomics from histology is largely redundant with the predicted mean." bioRxiv (2026). DOI
  8. Zi-Jun Gao, Chun-Bin Gu, Jin-Xi Xiang, Xiang-De Luo, and Pheng-Ann Heng "Towards Scalable Context-Aware Single-Cell Spatial Transcriptomics Prediction from Histology Images." arXiv.org (2026). DOI
  9. Li-Ying Chen, Zhong-Min Zhang, B. Wang, Wen-Le Ren, Hong-Ke Peng, Shi-Hong Lu, Meng-Yuan Xu, Yun-He Zhou, Xiong-Jian Luo, Tong Ye, Qi Zhu, Feng Yan, and Lu-Yi Tian "MINT infers the latent single-cell spatial transcriptome from paired histology." bioRxiv (2026). DOI
  10. Xin Luo, Yi-Cheng Tao, Hao-Xuan Zeng, Su-Yuan Wang, Chen-Zi Ouyang, Meiqing Zhu, Kai Liu, Shui-Bing Chen, and Jie Liu "VOICE: A Vision-Omics Foundation Model Integrating Direct and Retrieval-Based Prediction of In-situ Single-Cell Gene Expression." arXiv.org (2026). DOI
  11. Ning-Hui Hao, Bo-Shen Yan, Dong Li, Xin-Tao Wu, Chen Zhao, and Gui-Hong Wan "AI for Precision Medicine: Histopathology-centered Computational Analysis of Spatial Omics: Integration, Mapping, and Foundation Models." Knowledge Discovery and Data Mining (2026). DOI
  12. Hyun-jong Jang, Kwangil Yim, and Sung-Hak Lee "Artificial Intelligence for Molecular Biomarker Identification in Gastrointestinal and Hepatobiliary Cancers." International Journal of Molecular Sciences (2026). DOI
  13. Ning-Hui Hao, Xin-Xing Yang, Bo-Shen Yan, Dong Li, Jun-Zhou Huang, Xin-Tao Wu, E. S. Ruiz, Arlene M. Ruiz de Luzuriaga, Chen Zhao, and Gui-Hong Wan "Histopathology-centered computational evolution of spatial omics: integration, mapping, and foundation models." Briefings in Bioinformatics (2026). DOI
  14. Ning-Hui Hao, Xinxing Yang, Bo-Shen Yan, Dong Li, Jun-Zhou Huang, Xin-Tao Wu, E. S. Ruiz, A. R. D. de Luzuriaga, Chen Zhao, and Gui-Hong Wan "Histopathology-centered Computational Evolution of Spatial Omics: Integration, Mapping, and Foundation Models." arXiv.org (2026). DOI

This list is automatically updated weekly via GitHub Actions using the Semantic Scholar, OpenAlex and OpenCitations APIs.

Related Projects

  • DeepSpot-M — Multimodal foundation model for transcriptome-wide virtual spatial transcriptomics from H&E images. Represents genes as queryable embeddings, so it spans the protein-coding transcriptome including genes unseen during training.
  • DeepSpot — Predicts spatial transcriptomics from H&E images at spot-level (Visium) and single-cell (Xenium) resolution. Includes 8 TB of predicted TCGA data.
  • AESTETIK — AutoEncoder for learning multi-modal spatial transcriptomics representations.

Citation

If you found our work useful, please cite:

@article{nonchev2025deepspot2cell,
  title={DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H\&E images using Spot-Level Supervision},
  author={Nonchev, Kalin and Manaiev, Glib and Koelzer, Viktor H and R{\"a}tsch, Gunnar},
  journal={bioRxiv},
  pages={2025--09},
  year={2025},
  publisher={Cold Spring Harbor Laboratory}
}

NB: Computational data analysis was performed at Leonhard Med (https://sis.id.ethz.ch/services/sensitiveresearchdata/) secure trusted research environment at ETH Zurich.

Releases

Packages

Contributors

Languages