Skip to content
/ amR Public

amR package suite: 1) amRdata, 2) amRml, 3) amRshiny

License

Unknown, BSD-3-Clause licenses found

Licenses found

Unknown
LICENSE
BSD-3-Clause
LICENSE.md
Notifications You must be signed in to change notification settings

JRaviLab/amR

amR: an R package suite for antimicrobial resistance prediction

Lifecycle: experimental

amR is a metapackage that provides a single installation point for the amR suite of packages for antimicrobial resistance (AMR) prediction in bacterial pathogens.

The amR suite

The amR suite consists of three packages that work together:

Package Description Repository
amRdata Data curation and feature extraction from bacterial genomes JRaviLab/amRdata
amRml Machine learning models for AMR prediction JRaviLab/amRml
amRshiny Interactive dashboard for exploring results JRaviLab/amRshiny

Installation

Install the entire suite

# Install amR metapackage
if (!requireNamespace("remotes", quietly = TRUE))
    install.packages("remotes")

remotes::install_github("JRaviLab/amR")

# Then install all packages in the suite
library(amR)
installAMR()

Install individual packages

You can also install packages individually:

remotes::install_github("JRaviLab/amRdata")
remotes::install_github("JRaviLab/amRml")
remotes::install_github("JRaviLab/amRshiny")

Quick start

# Load all packages
library(amRdata)
library(amRml)
library(amRshiny)

# 1. Prepare data with amRdata
# features <- prepareFeatures(...)

# 2. Train ML models with amRml
# results <- runMLPipeline(...)

# 3. Explore results with amRshiny
# launchDashboard(...)

Workflow overview

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│  amRdata    │ --> │   amRml     │ --> │  amRshiny   │
│             │     │             │     │             │
│ - Genomes   │     │ - Train LR  │     │ - Dashboard │
│ - Features  │     │ - Evaluate  │     │ - Plots     │
│ - Metadata  │     │ - Top feats │     │ - Export    │
└─────────────┘     └─────────────┘     └─────────────┘

Documentation

Citation

If you use the amR suite in your research, please cite:

Brenner EP^, Ghosh A^, Wolfe EP, Boyer EA, Vang CK, Lesiyon RL, Mayer DA, Ravi J. (2026).
amR: An R package suite for antimicrobial resistance prediction in bacterial pathogens.
https://github.com/JRaviLab/amR

Looking for a cool application of this amR prediction framework? Check out our recent work on predicting AMR in ESKAPE pathogens: Ghosh^, Brenner^, Vang^, Wolfe^, et al., bioRxiv 2025.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

BSD 3-Clause License. See LICENSE for details.

Contact

Corresponding author: Janani Ravi (janani.ravi@cuanschutz.edu)

Lab website: https://jravilab.github.io

Code of Conduct

Please note that amR is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

amR package suite: 1) amRdata, 2) amRml, 3) amRshiny

Topics

Resources

License

Unknown, BSD-3-Clause licenses found

Licenses found

Unknown
LICENSE
BSD-3-Clause
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages