RankMap: rank-based reference mapping for fast and robust cell type annotation in spatial and single-cell transcriptomics
Cell type annotation is a key step in single-cell and spatial transcriptomics analysis, but many reference-based methods are computationally intensive, limiting their use on large spatial datasets. Here, we present RankMap ( https://github.com/jinming-cheng/RankMap ), a fast and flexible R package for reference-based cell type annotation. RankMap represents each cell using rank-based features derived from its top-expressed genes, reducing sensitivity to platform-specific differences in expression scale. It then applies elastic net-regularized multinomial regression to predict cell types with associated confidence scores. We benchmarked RankMap on five spatial datasets (Xenium, MERFISH, Stereo-seq) and two single-cell datasets, comparing it with SingleR , Azimuth , and RCTD . Across these settings, RankMap achieved competitive accuracy while substantially reducing runtime, particularly for large spatial datasets. Overall, RankMap provides a practical and scalable solution for reference-based cell type annotation.
Authors
- Sin Chi Chew (ORCID: https://orcid.org/0000-0002-4126-514X)
- Pierce K. H. Chow (ORCID: https://orcid.org/0000-0003-0584-2584)
- Shengdi Li (ORCID: https://orcid.org/0000-0001-8993-3525)
- Nan Liu (ORCID: https://orcid.org/0000-0003-3610-4883)
- Jinming Cheng (ORCID: https://orcid.org/0000-0003-3806-4694)
- Serim Kim (ORCID: https://orcid.org/0009-0001-3384-1549)
- Chow Hiang Ang
Institutions
- National University of Singapore (SG)
- Duke University (US)
- Shanghai Jiao Tong University (CN)
- Singapore General Hospital (SG)
- SingHealth Duke-NUS Academic Medical Centre (SG)
- Duke-NUS Medical School (SG)
- National Cancer Centre Singapore (SG)
Publication Details
- Journal
- BMC Bioinformatics
- Published
- 2026-10-30
- DOI
- https://doi.org/10.1186/s12859-026-06699-3
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Medical Research Council