AMRvalid: Population-Aware Evaluation of Antimicrobial Resistance Predictions

Evaluates antimicrobial resistance phenotype predictions made by external models and rule-based tools against phenotypic reference results, accounting for the population structure of bacterial isolates. Provides a documented data contract and input validation; classification and probability metrics and antimicrobial susceptibility testing agreement metrics (categorical agreement, very major, major and minor errors, essential agreement) per species and antimicrobial; checks for overlap between training and test isolates; performance by genomic distance to the training data; cluster bootstrap intervals and paired model comparisons; calibration; prevalence-adjusted predictive values; and reports aligned with the TRIPOD+AI checklist (Collins et al. (2024) <doi:10.1136/bmj-2023-078378>). Organism and antimicrobial identifiers use the classes of the 'AMR' package. Models are not trained inside the package.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: AMR (≥ 3.0.0), stats, utils
Suggests: jsonlite, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-25
DOI: 10.32614/CRAN.package.AMRvalid (may not be active yet)
Author: Md Omar Faruqe ORCID iD [aut, cre, cph]
Maintainer: Md Omar Faruqe <faruqe at ru.ac.bd>
BugReports: https://github.com/omarfaruqe/AMRvalid/issues
License: MIT + file LICENSE
URL: https://github.com/omarfaruqe/AMRvalid
NeedsCompilation: no
Language: en-GB
Citation: AMRvalid citation info
Materials: README, NEWS
CRAN checks: AMRvalid results

Documentation:

Reference manual: AMRvalid.html , AMRvalid.pdf
Vignettes: Evaluating rule-based predictors on public data (source, R code)
Why population-aware evaluation matters (source, R code)

Downloads:

Package source: AMRvalid_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): AMRvalid_1.0.0.tgz, r-oldrel (arm64): AMRvalid_1.0.0.tgz, r-release (x86_64): AMRvalid_1.0.0.tgz, r-oldrel (x86_64): AMRvalid_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=AMRvalid to link to this page.