Spatially Aware Adjusted Rand Index for Evaluating Spatial Transcriptomics Clustering
Abstract
The spatial transcriptomics (ST) clustering plays a crucial role in elucidating the tissue spatial heterogeneity. An accurate ST clustering result can greatly benefit downstream biological analyses. As various ST clustering approaches are proposed in recent years, comparing their clustering accuracy becomes important in benchmarking studies. However, the widely used metric, adjusted Rand index (ARI), totally ignores the spatial information in ST data, which prevents ARI from fully evaluating spatial ST clustering methods. We propose a spatially aware Rand index (spRI) as well as spARI that incorporate the spatial distance information. Specifically, when comparing two partitions, spRI provides a disagreement object pair with a weight relying on the distance of the two objects, whereas Rand index assigns a zero weight to it. This spatially aware feature of spRI adaptively differentiates disagreement object pairs based on their distinct distances, providing a useful evaluation metric that favors spatial coherence of clustering. The spARI is obtained by adjusting spRI for random chances such that its expectation takes zero under an appropriate null model. Statistical properties of spRI and spARI are discussed. The applications to simulation study and two ST datasets demonstrate the improved utilities of spARI compared to ARI in evaluating ST clustering methods. The R package to compute spRI and spARI is available at https://github.com/yinqiaoyan/spARI.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 0.90
- Field percentile
- top 29%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Stardust: improving spatial transcriptomics data analysis through space aware modularity optimization based clustering.
Simone Avesani, Eva Viesi, … Rosalba Giugno·GigaSciencePeer-reviewed·Jan 1, 2022
- STEAM: Spatial Transcriptomics Evaluation Algorithm and Metric for clustering performance
Samantha Reynoso, Courtney T. Schiebout, … Fan Zhang·Briefings in BioinformaticsPeer-reviewed·Aug 31, 2025
- Benchmarking clustering, alignment, and integration methods for spatial transcriptomics
- Scalable localization of clustering instability for spatial transcriptomics
Wenshan Wu, Joe Truong Nguyen, Erin K. Molloy·bioRxiv·Oct 9, 2026
- Improved Spatial Transcriptomics Clustering with Nested Graph Neural Networks
Atishay Jain, David H. Laidlaw, … Ritambhara Singh·ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics (ACM-BCB)Peer-reviewed·Oct 12, 2025
- STCC: consensus clustering enhances spatial domain detection for spatial transcriptomics data
Congcong Hu, Nana Wei, … Xiaoqi Zheng·bioRxiv·Feb 25, 2024