BioBatchNet: A Dual-Encoder Framework for Robust Batch Effect Correction in Imaging Mass Cytometry
MOTIVATION: Imaging Mass Cytometry (IMC) is a cutting-edge technology for analysing spatially resolved protein expression at the single-cell level. However, its downstream analyses are often hindered by batch effects, which introduce systematic biases and obscure biological variations. Existing correction methods, largely developed for scRNA-seq data, face challenges in adapting to IMC data due to differences in data characteristics. Moreover, these methods struggle to achieve precise control, leading to either over-correction by removing critical biological information, or under-correction by leaving residual batch effects. Furthermore, IMC data often feature overlapping cell populations, complicating clustering and downstream analysis. These challenges underscore the need for a robust and controllable batch effect correction approach tailored to IMC data. RESULTS: We present BioBatchNet, a dual-encoder framework utilising adversarial training to explicitly disentangle batch-specific and biological signals. BioBatchNet enables controllable batch effect correction, balancing correction with preservation of biological variation. We evaluated BioBatchNet on three IMC datasets, where it outperformed seven benchmarking methods with robustness in both correction and biological signal conservation. Additionally, we developed a Constrained-Pairwise-Clustering (CPC) method, which employs constrained pairs to improve clustering performance, even in datasets with overlapping cell populations. To validate its generalisability, we adapted BioBatchNet for scRNA-seq datasets by altering the data likelihood from Gaussian to Zero-Inflated Negative Binomial distribution. This adapted version achieved competitive performance across four scRNA-seq datasets, obtaining the highest overall score on three of them. These results demonstrate BioBatchNet's generalisability and robustness in correcting batch effects across diverse single-cell datasets and underscore its potential for large-scale biological analyses. AVAILABILITY AND IMPLEMENTATION: The source code is available at https://github.com/UoM-HealthAI/BioBatchNet, with an archived snapshot on Zenodo (DOI: https://doi.org/10.5281/zenodo.18783840).
Authors
- Hongpeng Zhou (ORCID: https://orcid.org/0000-0002-3894-0116)
- Yabing Yao (ORCID: https://orcid.org/0000-0002-6421-6981)
- Mauricio A. Álvarez (ORCID: https://orcid.org/0000-0002-8980-4472)
- Shao-Jie Zhang (ORCID: https://orcid.org/0000-0002-0406-3290)
- Andrew P. Gilmore (ORCID: https://orcid.org/0000-0002-9988-0436)
- Shengzhong Mao (ORCID: https://orcid.org/0000-0002-1156-2530)
- Yuxi Zhou (ORCID: https://orcid.org/0000-0002-7850-3738)
- Haiping Liu (ORCID: https://orcid.org/0009-0002-5781-3574)
- Qian Zhao (ORCID: https://orcid.org/0009-0001-9540-9591)
- Jingyuan Sun (ORCID: https://orcid.org/0009-0008-0200-0609)
Institutions
- University of Manchester (GB)
- Cancer Research UK Manchester Institute (GB)
Publication Details
- Journal
- Bioinformatics
- Published
- 2026-11-23
- DOI
- https://doi.org/10.1093/bioinformatics/btag853
- Citations
- 1
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- article
- Field-Weighted Citation Impact
- 1.08