bioRxivBioinformaticsPreprint
MetaResNet: Enhancing Microbiome-Based Disease Classification through Colormap Optimization and Imbalance Handling
Awais QureshiiD, Abdul WahidiD, Shams Qazi, Hasan Ali KhattakiD, Syed Fawad HussainiD
Abstract
Image-based representations of metagenomic data enable convolutional neural network (CNN) applications for microbiome disease classification. However, the impact of colormap selection on model performance remains unexplored. Current approaches arbitrarily select visualization parameters despite evidence that colormap choices can suppress minority-class features in imbalanced microbiome datasets. This study systematically evaluates colormap effects on metagenomic disease classification to establish evidence-based visualization guidelines. We developed MetaResNet, a custom CNN architecture incorporating residual blocks and attention mechanisms, to assess five colormap schemes (Jet, YlGnBu, Reds, Paired and nipy spectral) across four benchmark datasets: inflammatory bowel disease (n=110), colon cancer (n=121), women type 2 diabetes (n=96), and obesity (n=253). Class imbalance was addressed using Synthetic Minority Over-sampling Technique (SMOTE) versus class weighting strategies. Custom data augmentation preserved taxonomic abundance relationships while enhancing generalization. Performance evaluation employed F1-score, Receiver Operating Characteristic and Area Under the Curve (AUC-ROC), Matthews correlation coefficient (MCC), precision, and recall to address accuracy limitations in imbalanced scenarios. Results identified the Jet colormap coupled with SMOTE as the optimal global configuration, maximizing signal retention and achieving peak performance (AUC 1.00 in Colon). SMOTE significantly improved minority-class recall over class weighting (0.81 {+/-} 0.09 vs. 0.69 {+/-} 0.11, p = 0.003). MetaResNet achieved performance comparable to current state-of-the-art frameworks, while statistically outperforming established deep learning baselines (e.g., DeepMicro, PopPhy-CNN; p = 0.025) in discriminatory power (AUC), with peak values exceeding 0.96. These findings demonstrate that visualization efficacy is strategy-dependent, establishing MetaResNet as a robust framework for microbiome-based diagnostics that supports evidence-based visualization strategies for precision medicine.
- Citations
- 0
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
- Multiclass Disease Classification from Microbial Whole-Community Metagenomes using Graph Convolutional Neural Networks.
Saad M. Khan, Libusha Kelly·bioRxiv·Aug 16, 2019
- Evaluating Few-Shot Meta-Learning using STUNT for Microbiome-Based Disease Classification
Chengyao Peng, Thomas Abeel·bioRxiv·Sep 9, 2026
- A Goldilocks Principle for the Gut Microbiome: Taxonomic Resolution Matters for Microbiome-Based Classification of Colorectal Cancer
C. R. Armour, B. D. Topcuoglu, … P. D. Schloss·bioRxiv·Oct 22, 2021
- Feature selection with vector-symbolic architectures: a case study on microbial profiles of shotgun metagenomic samples of colorectal cancer
Fabio Cumbo, Simone Truglia, … Daniel J Blankenberg·Briefings in BioinformaticsPeer-reviewed·Mar 1, 2025
- Automated Microbial Classification System based on Deep Convolutional Neural Networks using Images from Colony Picker
Sehyun Park, Jing Wui Yeoh, … Chueh Loo Poh·bioRxiv·Jun 29, 2023
- METAbolomics data Balancing with Over-sampling Algorithms (META-BOA): an online resource for addressing class imbalance
Emily Hashimoto-Roth, Anuradha Surendra, … Miroslava Čuperlović‐Culf·BioinformaticsPeer-reviewed·Oct 12, 2022