Plate IV.69 · Publications
Nicheformer: a foundation model for single-cell and spatial omics
Article in Nature Methods, 30 October 2025.
Abstract
Tissue makeup depends on the local cellular microenvironment. Spatial single-cell genomics enables scalable and unbiased interrogation of these interactions. Here we introduce Nicheformer, a transformer-based foundation model trained on both human and mouse dissociated single-cell and targeted spatial transcriptomics data. Pretrained on SpatialCorpus-110M, a curated collection of over 57 million dissociated and 53 million spatially resolved cells across 73 tissues on cellular reconstruction, Nicheformer learns cell representations that capture spatial context. It excels in linear-probing and fine-tuning scenarios for a newly designed set of downstream tasks, in particular spatial composition prediction and spatial label prediction. Critically, we show that models trained only on dissociated data fail to recover the complexity of spatial microenvironments, underscoring the need for multiscale integration. Nicheformer enables the prediction of the spatial context of dissociated cells, allowing the transfer of rich spatial information to scRNA-seq datasets. Overall, Nicheformer sets the stage for the next generation of machine-learning models in spatial single-cell analysis.
Versions2
- PublishedNature Methods10.1038/s41592-025-02814-z
- PreprintbioRxiv10.1101/2024.04.15.589472
Cite
@article{tejadalapuerta2025nicheformer,
title = {{Nicheformer: a foundation model for single-cell and spatial omics}},
author = {Tejada-Lapuerta, Alejandro and Schaar, Anna C. and Gutgesell, Robert and Palla, Giovanni and Halle, Lennard and Minaeva, Mariia and Vornholz, Larsen and Dony, Leander and Drummer, Francesca and Richter, Till and Bahrami, Mojtaba and Theis, Fabian J.},
journal = {Nature Methods},
publisher = {Springer Science and Business Media LLC},
year = {2025},
month = oct,
doi = {10.1038/s41592-025-02814-z},
url = {https://doi.org/10.1038/s41592-025-02814-z},
pmid = {41168487},
pmcid = {PMC12695652}
}