Introduction to the AMR package

Matthijs S. Berends

This R package was intended to make microbial epidemiology easier. Most functions contain extensive help pages to get started.

The AMR package basically does four important things:

  1. It cleanses existing data, by transforming it to reproducible and profound classes, making the most efficient use of R. These functions all use artificial intelligence to guess results that you would expect:

  2. It enhances existing data and adds new data from data sets included in this package.

  3. It analyses the data with convenient functions that use well-known methods.

  4. It teaches the user how to use all the above actions.

ITIS

This package contains the complete microbial taxonomic data (with all seven taxonomic ranks - from subkingdom to subspecies) from the publicly available Integrated Taxonomic Information System (ITIS, https://www.itis.gov).

All (sub)species from the taxonomic kingdoms Bacteria, Fungi and Protozoa are included in this package, as well as all previously accepted names known to ITIS. Furthermore, the responsible authors and year of publication are available. This allows users to use authoritative taxonomic information for their data analysis on any microorganism, not only human pathogens.

ITIS is a partnership of U.S., Canadian, and Mexican agencies and taxonomic specialists.

Get a note when a species was renamed

mo_shortname("Chlamydia psittaci")
# Note: 'Chlamydia psittaci' (Page, 1968) was renamed 'Chlamydophila psittaci' (Everett et al., 1999)
# [1] "C. psittaci"

Get any property from the entire taxonomic tree for all included species

mo_class("E. coli")
# [1] "Gammaproteobacteria"

mo_family("E. coli")
# [1] "Enterobacteriaceae"

mo_ref("E. coli")
# [1] "Castellani and Chalmers, 1919"

Do not get mistaken - the package only includes microorganisms

mo_phylum("C. elegans")
# [1] "Cyanobacteria"                   # Bacteria?!
mo_fullname("C. elegans")
# [1] "Chroococcus limneticus elegans"  # Because a microorganism was found 

AMR, (c) 2018, https://gitlab.com/msberends/AMR

Licensed under the GNU General Public License v2.0.