amR: an R package suite to predict antimicrobial resistance in bacterial pathogens
Abhirupa GhoshiD, Evan Pierce BrenneriD, Emily A BoyeriD, Alexander McKimiD, Charmie K. VangiD, Ethan P WolfeiD, David A. MayeriD, Raymond L LesiyoniD, Janani RaviiD
Abstract
MotivationIdentifying bacterial antimicrobial resistance (AMR) is critical for diagnostics and treatment, but resistance is a complex trait arising from myriad mechanisms spanning multiple molecular scales. Existing computational approaches often function as black boxes and rarely explore cross-species or multi-drug patterns. We developed amR, an integrated R package suite that provides a complete framework from bacterial genome data curation to interpretable AMR predictions, enabling identification of resistance mechanisms across species and drugs. ResultsThe amR R package suite contains three modular packages. amRdata downloads genomes and paired antimicrobial susceptibility testing data from BV-BRC and processes them, constructs pangenomes, and extracts features at gene/protein cluster, protein domain, annotated Clusters of Orthologous Groups and ResFinder AMR-associated features, and structural variant scales; data are stored in memory-efficient formats (Parquet, DuckDB). amRml trains interpretable machine learning models per species-drug combination, calculates feature importance and performance metrics, and provides rich ground for hypothesis generation and mechanism discovery. amRviz provides an interactive Shiny dashboard to explore metadata distributions and model performance across species and drugs, visualize top predictive AMR features, and analyze cross-model patterns across geographic/temporal strata. We apply the suite to Shigella sonnei, achieving a median Matthews Correlation Coefficient of 0.89 across 23 drugs and drug classes. With thousands of genomes, multi-scale features, and interpretable models, amR provides an accessible, comprehensive framework for AMR research. The amR package suite is installable via GitHub (https://github.com/JRaviLab/amR; BSD-3-Clause license).
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- 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
- Accessory genes define species-specific pathways to antibiotic resistance.
Lucy Dillon, Nicholas J Dimonaco, Christopher J. Creevey·bioRxiv·Aug 9, 2023
- AMR - An R Package for Working with Antimicrobial Resistance Data
M. S. Berends, C. F. Luz, … C. Glasner·bioRxiv·Apr 7, 2021
- From sequence to signature: Machine learning uncovers multiscale feature landscapes that predict AMR across ESKAPE pathogens
Abhirupa Ghosh, Evan Pierce Brenner, … Janani Ravi·bioRxiv·Jul 3, 2025
- Assessing computational predictions of antimicrobial resistance phenotypes from microbial genomes
Kaixin Hu, Fernando Meyer, … Alice Carolyn McHardy·Briefings in BioinformaticsPeer-reviewed·Mar 27, 2024
- ARIBA: rapid antimicrobial resistance genotyping directly from sequencing reads
Martin Hunt, Alison E. Mather, … Simon R. Harris·Microbial GenomicsPeer-reviewed·Sep 4, 2017
- BacteReason: A Reasoning Model for Antimicrobial Resistance Prediction
Yuna Oikawa, Shuichi Kawashima, … Koji Tsuda·bioRxiv·Jun 7, 2026