Go to file
dr. M.S. (Matthijs) Berends 8d37c75860 unit tests 2023-02-14 15:59:40 +01:00
.github unit test fix for old R versions 2023-01-21 23:53:31 +01:00
R fix for R < 3.2, `expect_warning()` on hold 2023-02-14 10:41:01 +01:00
data use dplyr where available, new `antibiogram()` for WISCA, fixed Salmonella Typhi/Paratyphi 2023-02-06 11:57:22 +01:00
data-raw unit tests 2023-02-12 17:10:48 +01:00
inst unit tests 2023-02-14 15:59:40 +01:00
man unit test fixes 2023-02-13 16:56:25 +01:00
pkgdown add include_screening to `as.sir()` 2023-02-12 15:09:54 +01:00
tests fix for R < 3.2, `expect_warning()` on hold 2023-02-14 10:41:01 +01:00
vignettes bring back `antibiogram()`, without deps 2023-02-10 16:18:00 +01:00
.Rbuildignore new tibble export 2022-08-27 20:49:37 +02:00
.gitignore Feather and Parquet files 2022-08-26 22:25:15 +02:00
AMR.Rproj New mo algorithm, prepare for 2.0 2022-10-05 09:12:22 +02:00
CRAN-SUBMISSION New mo algorithm, prepare for 2.0 2022-10-05 09:12:22 +02:00
DESCRIPTION unit tests 2023-02-14 15:59:40 +01:00
LICENSE (v0.7.1.9068) gramstain to freq() 2019-08-30 14:50:56 +02:00
NAMESPACE bring back `antibiogram()`, without deps 2023-02-10 16:18:00 +01:00
NEWS.md unit tests 2023-02-14 15:59:40 +01:00
README.md Replace RSI with SIR 2023-01-21 23:47:20 +01:00
_pkgdown.yml use dplyr where available, new `antibiogram()` for WISCA, fixed Salmonella Typhi/Paratyphi 2023-02-06 11:57:22 +01:00
codecov.yml support new mo codes 2022-12-27 15:16:15 +01:00
cran-comments.md v1.8.1 2022-03-24 23:05:04 +01:00
index.md fix for binding rows 2023-02-12 11:20:14 +01:00
logo.svg (v1.7.1.9068) new logo, unit tests 2021-12-12 11:07:02 +01:00

README.md

AMR (for R)


This work was published in the Journal of Statistical Software (Volume 104(3); DOI 10.18637/jss.v104.i03) and formed the basis of two PhD theses (DOI 10.33612/diss.177417131 and DOI 10.33612/diss.192486375).

AMR is a free, open-source and independent R package to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. Our aim is to provide a standard for clean and reproducible antimicrobial resistance data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting. It is currently being used in over 175 countries.

After installing this package, R knows ~52,000 distinct microbial species and all ~600 antibiotic, antimycotic, and antiviral drugs by name and code (including ATC, WHONET/EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid SIR and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in English, Chinese, Danish, Dutch, French, German, Greek, Italian, Japanese, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, and Ukrainian.

This package is fully independent of any other R package and works on Windows, macOS and Linux with all versions of R since R-3.0.0 (April 2013). It was designed to work in any setting, including those with very limited resources. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the University of Groningen, in collaboration with non-profit organisations Certe Medical Diagnostics and Advice Foundation and University Medical Center Groningen. This R package is actively maintained and free software; you can freely use and distribute it for both personal and commercial (but not patent) purposes under the terms of the GNU General Public License version 2.0 (GPL-2), as published by the Free Software Foundation.

This is the development source of the AMR package for R. Not a developer? Then please visit our website https://msberends.github.io/AMR/ to read more about this package.

NOTE: this source code is on GitHub (https://github.com/msberends/AMR), but also automatically mirrored to our university's Gitea server (https://git.web.rug.nl/P281424/AMR) and to GitLab (https://gitlab.com/msberends/AMR).

How to get this package

Please see our website.

You can install or update the AMR package from CRAN using:

install.packages("AMR")

It will be downloaded and installed automatically. For RStudio, click on the menu Tools > Install Packages... and then type in "AMR" and press Install.

This R package is licensed under the GNU General Public License (GPL) v2.0. In a nutshell, this means that this package:

  • May be used for commercial purposes

  • May be used for private purposes

  • May not be used for patent purposes

  • May be modified, although:

    • Modifications must be released under the same license when distributing the package
    • Changes made to the code must be documented
  • May be distributed, although:

    • Source code must be made available when the package is distributed
    • A copy of the license and copyright notice must be included with the package.
  • Comes with a LIMITATION of liability

  • Comes with NO warranty