toolNature MethodsJune 11, 2026
Nicheformer: Foundation Model for Single-Cell and Spatial Omics
Nicheformer is a transformer-based foundation model published in Nature Methods (2025, vol. 22, pp. 2525–2538), pretrained on SpatialCorpus-110M — a curated corpus of over 57 million dissociated and 53 million spatially resolved cells across 73 tissues from human and mouse. The model enables prediction of spatial context for dissociated scRNA-seq cells, spatial composition prediction, and label transfer via linear probing and fine-tuning. Key finding: models trained only on dissociated data fail to recover spatial microenvironment complexity, underscoring the need for joint single-cell and spatial pretraining.
Nicheformer
Transformer foundation model for single-cell and spatial omics. Nature Methods 22, 2525–2538 (2025).
- Pretrained on SpatialCorpus-110M: 57M dissociated + 53M spatial cells
- 73 tissues; human and mouse data
- Tasks: spatial context prediction, composition prediction, label transfer
- Outperforms models trained on dissociated-only data for spatial tasks
- Fine-tunable for downstream analysis via linear probing
- PMC: PMC12695652