# AMR for R 2.0.0: reference of all functions and data sets > This is the complete reference documentation of version 2.0.0 of the AMR package for R, released on 2023-03-12. It applies to AMR 2.0.0 only: functions, arguments, defaults, data sets and their columns can differ in other versions. How to use this reference: - Every function and data set has its own page, linked below. The pages are Markdown and live at `https://amr-for-r.org/release/2.0.0/reference/.md`. - Each page contains the usage (all arguments with their defaults), the description of every argument, details, the return value and examples. - Several related functions share one page; the list below shows which page documents which function (e.g., `mo_gramstain()` is documented on `mo_property.md`). - A function or argument that is not in this reference does not exist in this version. - The documentation of other versions is listed at . ## Preparing data: microorganisms These functions are meant to get taxonomically valid properties of microorganisms from any input, but also properties derived from taxonomy, such as the Gram stain ([`mo_gramstain()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md)) , or [`mo_is_yeast()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md). Use [`mo_source()`](https://amr-for-r.org/release/2.0.0/reference/mo_source.md) to teach this package how to translate your own codes to valid microorganisms, and use \`add_custom_microorganisms() to add your own custom microorganisms to this package. - [`as.mo()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`is.mo()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`mo_uncertainties()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`mo_renamed()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`mo_failures()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`mo_reset_session()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) [`mo_cleaning_regex()`](https://amr-for-r.org/release/2.0.0/reference/as.mo.md) : Transform Arbitrary Input to Valid Microbial Taxonomy - [`mo_name()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_fullname()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_shortname()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_subspecies()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_species()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_genus()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_family()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_order()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_class()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_phylum()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_kingdom()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_domain()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_type()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_status()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_pathogenicity()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_gramstain()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_is_gram_negative()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_is_gram_positive()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_is_yeast()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_is_intrinsic_resistant()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_snomed()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_ref()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_authors()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_year()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_lpsn()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_gbif()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_rank()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_taxonomy()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_synonyms()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_current()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_info()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_url()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) [`mo_property()`](https://amr-for-r.org/release/2.0.0/reference/mo_property.md) : Get Properties of a Microorganism - [`add_custom_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/add_custom_microorganisms.md) [`clear_custom_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/add_custom_microorganisms.md) : Add Custom Microorganisms - [`set_mo_source()`](https://amr-for-r.org/release/2.0.0/reference/mo_source.md) [`get_mo_source()`](https://amr-for-r.org/release/2.0.0/reference/mo_source.md) : User-Defined Reference Data Set for Microorganisms ## Preparing data: antibiotics Use these functions to get valid properties of antibiotics from any input or to clean your input. You can even retrieve drug names and doses from clinical text records, using [`ab_from_text()`](https://amr-for-r.org/release/2.0.0/reference/ab_from_text.md). - [`as.ab()`](https://amr-for-r.org/release/2.0.0/reference/as.ab.md) [`is.ab()`](https://amr-for-r.org/release/2.0.0/reference/as.ab.md) : Transform Input to an Antibiotic ID - [`ab_name()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_cid()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_synonyms()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_tradenames()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_group()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_atc()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_atc_group1()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_atc_group2()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_loinc()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_ddd()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_ddd_units()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_info()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_url()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`ab_property()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) [`set_ab_names()`](https://amr-for-r.org/release/2.0.0/reference/ab_property.md) : Get Properties of an Antibiotic - [`ab_from_text()`](https://amr-for-r.org/release/2.0.0/reference/ab_from_text.md) : Retrieve Antimicrobial Drug Names and Doses from Clinical Text - [`atc_online_property()`](https://amr-for-r.org/release/2.0.0/reference/atc_online.md) [`atc_online_groups()`](https://amr-for-r.org/release/2.0.0/reference/atc_online.md) [`atc_online_ddd()`](https://amr-for-r.org/release/2.0.0/reference/atc_online.md) [`atc_online_ddd_units()`](https://amr-for-r.org/release/2.0.0/reference/atc_online.md) : Get ATC Properties from WHOCC Website - [`add_custom_antimicrobials()`](https://amr-for-r.org/release/2.0.0/reference/add_custom_antimicrobials.md) [`clear_custom_antimicrobials()`](https://amr-for-r.org/release/2.0.0/reference/add_custom_antimicrobials.md) : Add Custom Antimicrobials ## Preparing data: antimicrobial resistance With [`as.mic()`](https://amr-for-r.org/release/2.0.0/reference/as.mic.md) and [`as.disk()`](https://amr-for-r.org/release/2.0.0/reference/as.disk.md) you can transform your raw input to valid MIC or disk diffusion values. Use [`as.sir()`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) for cleaning raw data to let it only contain “R”, “I” and “S”, or to interpret MIC or disk diffusion values as SIR based on the lastest EUCAST and CLSI guidelines. Afterwards, you can extend antibiotic interpretations by applying [EUCAST rules](https://www.eucast.org/expert_rules_and_intrinsic_resistance/) with [`eucast_rules()`](https://amr-for-r.org/release/2.0.0/reference/eucast_rules.md). - [`as.sir()`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) [`NA_sir_`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) [`is.sir()`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) [`is_sir_eligible()`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) [`sir_interpretation_history()`](https://amr-for-r.org/release/2.0.0/reference/as.sir.md) : Translate MIC and Disk Diffusion to SIR, or Clean Existing SIR Data - [`as.mic()`](https://amr-for-r.org/release/2.0.0/reference/as.mic.md) [`NA_mic_`](https://amr-for-r.org/release/2.0.0/reference/as.mic.md) [`is.mic()`](https://amr-for-r.org/release/2.0.0/reference/as.mic.md) [`droplevels(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/as.mic.md) : Transform Input to Minimum Inhibitory Concentrations (MIC) - [`as.disk()`](https://amr-for-r.org/release/2.0.0/reference/as.disk.md) [`NA_disk_`](https://amr-for-r.org/release/2.0.0/reference/as.disk.md) [`is.disk()`](https://amr-for-r.org/release/2.0.0/reference/as.disk.md) : Transform Input to Disk Diffusion Diameters - [`eucast_rules()`](https://amr-for-r.org/release/2.0.0/reference/eucast_rules.md) [`eucast_dosage()`](https://amr-for-r.org/release/2.0.0/reference/eucast_rules.md) : Apply EUCAST Rules - [`custom_eucast_rules()`](https://amr-for-r.org/release/2.0.0/reference/custom_eucast_rules.md) : Define Custom EUCAST Rules ## Analysing data: antimicrobial resistance Use these function for the analysis part. You can use [`susceptibility()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) or [`resistance()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) on any antibiotic column. With [`antibiogram()`](https://amr-for-r.org/release/2.0.0/reference/antibiogram.md), you can generate a traditional, combined, syndromic, or weighted-incidence syndromic combination antibiogram(WISCA). This function also comes with support for R Markdown and Quarto. Be sure to first select the isolates that are appropiate for analysis, by using [`first_isolate()`](https://amr-for-r.org/release/2.0.0/reference/first_isolate.md) or [`is_new_episode()`](https://amr-for-r.org/release/2.0.0/reference/get_episode.md). You can also filter your data on certain resistance in certain antibiotic classes ([`carbapenems()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md), [`aminoglycosides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md)), or determine multi-drug resistant microorganisms (MDRO, [`mdro()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md)). - [`antibiogram()`](https://amr-for-r.org/release/2.0.0/reference/antibiogram.md) [`plot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/antibiogram.md) [`autoplot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/antibiogram.md) [`knit_print(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/antibiogram.md) : Generate Antibiogram: Traditional, Combined, Syndromic, or Weighted-Incidence Syndromic Combination (WISCA) - [`resistance()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`susceptibility()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`sir_confidence_interval()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_R()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_IR()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_I()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_SI()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_S()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`proportion_df()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) [`sir_df()`](https://amr-for-r.org/release/2.0.0/reference/proportion.md) : Calculate Antimicrobial Resistance - [`count_resistant()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_susceptible()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_R()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_IR()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_I()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_SI()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_S()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_all()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`n_sir()`](https://amr-for-r.org/release/2.0.0/reference/count.md) [`count_df()`](https://amr-for-r.org/release/2.0.0/reference/count.md) : Count Available Isolates - [`get_episode()`](https://amr-for-r.org/release/2.0.0/reference/get_episode.md) [`is_new_episode()`](https://amr-for-r.org/release/2.0.0/reference/get_episode.md) : Determine Clinical or Epidemic Episodes - [`first_isolate()`](https://amr-for-r.org/release/2.0.0/reference/first_isolate.md) [`filter_first_isolate()`](https://amr-for-r.org/release/2.0.0/reference/first_isolate.md) : Determine First Isolates - [`key_antimicrobials()`](https://amr-for-r.org/release/2.0.0/reference/key_antimicrobials.md) [`all_antimicrobials()`](https://amr-for-r.org/release/2.0.0/reference/key_antimicrobials.md) [`antimicrobials_equal()`](https://amr-for-r.org/release/2.0.0/reference/key_antimicrobials.md) : (Key) Antimicrobials for First Weighted Isolates - [`mdro()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`custom_mdro_guideline()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`brmo()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`mrgn()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`mdr_tb()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`mdr_cmi2012()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) [`eucast_exceptional_phenotypes()`](https://amr-for-r.org/release/2.0.0/reference/mdro.md) : Determine Multidrug-Resistant Organisms (MDRO) - [`plot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`autoplot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`fortify(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`plot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`autoplot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`fortify(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`plot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`autoplot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) [`fortify(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/plot.md) : Plotting for Classes `sir`, `mic` and `disk` - [`ggplot_sir()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`geom_sir()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`facet_sir()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`scale_y_percent()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`scale_sir_colours()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`theme_sir()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) [`labels_sir_count()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_sir.md) : AMR Plots with `ggplot2` - [`bug_drug_combinations()`](https://amr-for-r.org/release/2.0.0/reference/bug_drug_combinations.md) [`format(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/bug_drug_combinations.md) : Determine Bug-Drug Combinations - [`ab_class()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`ab_selector()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`aminoglycosides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`aminopenicillins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`antifungals()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`antimycobacterials()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`betalactams()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`carbapenems()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins_1st()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins_2nd()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins_3rd()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins_4th()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`cephalosporins_5th()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`fluoroquinolones()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`glycopeptides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`lincosamides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`lipoglycopeptides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`macrolides()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`oxazolidinones()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`penicillins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`polymyxins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`streptogramins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`quinolones()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`tetracyclines()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`trimethoprims()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`ureidopenicillins()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`administrable_per_os()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`administrable_iv()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) [`not_intrinsic_resistant()`](https://amr-for-r.org/release/2.0.0/reference/antibiotic_class_selectors.md) : Antibiotic Selectors - [`mean_amr_distance()`](https://amr-for-r.org/release/2.0.0/reference/mean_amr_distance.md) [`amr_distance_from_row()`](https://amr-for-r.org/release/2.0.0/reference/mean_amr_distance.md) : Calculate the Mean AMR Distance - [`resistance_predict()`](https://amr-for-r.org/release/2.0.0/reference/resistance_predict.md) [`sir_predict()`](https://amr-for-r.org/release/2.0.0/reference/resistance_predict.md) [`plot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/resistance_predict.md) [`ggplot_sir_predict()`](https://amr-for-r.org/release/2.0.0/reference/resistance_predict.md) [`autoplot(`*``*`)`](https://amr-for-r.org/release/2.0.0/reference/resistance_predict.md) : Predict Antimicrobial Resistance - [`guess_ab_col()`](https://amr-for-r.org/release/2.0.0/reference/guess_ab_col.md) : Guess Antibiotic Column ## Other: AMR-specific options The AMR package is customisable, by providing settings that can be set per user or per team. For example, the default interpretation guideline can be changed from EUCAST to CLSI, or a supported language can be set for the whole team (system-language independent) for antibiotic names in a foreign language. - [`AMR-options`](https://amr-for-r.org/release/2.0.0/reference/AMR-options.md) : Options for the AMR package ## Other: antiviral drugs This package also provides extensive support for antiviral agents, even though it is not the primary scope of this package. Working with data containing information about antiviral drugs was never easier. Use these functions to get valid properties of antiviral drugs from any input or to clean your input. You can even retrieve drug names and doses from clinical text records, using [`av_from_text()`](https://amr-for-r.org/release/2.0.0/reference/av_from_text.md). - [`as.av()`](https://amr-for-r.org/release/2.0.0/reference/as.av.md) [`is.av()`](https://amr-for-r.org/release/2.0.0/reference/as.av.md) : Transform Input to an Antiviral Drug ID - [`av_name()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_cid()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_synonyms()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_tradenames()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_group()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_atc()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_loinc()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_ddd()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_ddd_units()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_info()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_url()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) [`av_property()`](https://amr-for-r.org/release/2.0.0/reference/av_property.md) : Get Properties of an Antiviral Drug - [`av_from_text()`](https://amr-for-r.org/release/2.0.0/reference/av_from_text.md) : Retrieve Antiviral Drug Names and Doses from Clinical Text ## Other: background information on included data Some pages about our package and its external sources. Be sure to read our [How To’s](https://amr-for-r.org/release/2.0.0/articles/index.md) for more information about how to work with functions in this package. - [`AMR`](https://amr-for-r.org/release/2.0.0/reference/AMR.md) [`AMR-package`](https://amr-for-r.org/release/2.0.0/reference/AMR.md) : The `AMR` Package - [`example_isolates`](https://amr-for-r.org/release/2.0.0/reference/example_isolates.md) : Data Set with 2 000 Example Isolates - [`microorganisms`](https://amr-for-r.org/release/2.0.0/reference/microorganisms.md) : Data Set with 52 142 Microorganisms - [`microorganisms.codes`](https://amr-for-r.org/release/2.0.0/reference/microorganisms.codes.md) : Data Set with 5 910 Common Microorganism Codes - [`antibiotics`](https://amr-for-r.org/release/2.0.0/reference/antibiotics.md) [`antivirals`](https://amr-for-r.org/release/2.0.0/reference/antibiotics.md) : Data Sets with 603 Antimicrobial Drugs - [`intrinsic_resistant`](https://amr-for-r.org/release/2.0.0/reference/intrinsic_resistant.md) : Data Set with Bacterial Intrinsic Resistance - [`dosage`](https://amr-for-r.org/release/2.0.0/reference/dosage.md) : Data Set with Treatment Dosages as Defined by EUCAST - [`WHOCC`](https://amr-for-r.org/release/2.0.0/reference/WHOCC.md) : WHOCC: WHO Collaborating Centre for Drug Statistics Methodology - [`example_isolates_unclean`](https://amr-for-r.org/release/2.0.0/reference/example_isolates_unclean.md) : Data Set with Unclean Data - [`clinical_breakpoints`](https://amr-for-r.org/release/2.0.0/reference/clinical_breakpoints.md) : Data Set with Clinical Breakpoints for SIR Interpretation - [`WHONET`](https://amr-for-r.org/release/2.0.0/reference/WHONET.md) : Data Set with 500 Isolates - WHONET Example ## Other: miscellaneous functions These functions are mostly for internal use, but some of them may also be suitable for your analysis. Especially the ‘like’ function can be useful: `if (x %like% y) {...}`. - [`age_groups()`](https://amr-for-r.org/release/2.0.0/reference/age_groups.md) : Split Ages into Age Groups - [`age()`](https://amr-for-r.org/release/2.0.0/reference/age.md) : Age in Years of Individuals - [`availability()`](https://amr-for-r.org/release/2.0.0/reference/availability.md) : Check Availability of Columns - [`get_AMR_locale()`](https://amr-for-r.org/release/2.0.0/reference/translate.md) [`set_AMR_locale()`](https://amr-for-r.org/release/2.0.0/reference/translate.md) [`reset_AMR_locale()`](https://amr-for-r.org/release/2.0.0/reference/translate.md) [`translate_AMR()`](https://amr-for-r.org/release/2.0.0/reference/translate.md) : Translate Strings from the AMR Package - [`ggplot_pca()`](https://amr-for-r.org/release/2.0.0/reference/ggplot_pca.md) : PCA Biplot with `ggplot2` - [`italicise_taxonomy()`](https://amr-for-r.org/release/2.0.0/reference/italicise_taxonomy.md) [`italicize_taxonomy()`](https://amr-for-r.org/release/2.0.0/reference/italicise_taxonomy.md) : Italicise Taxonomic Families, Genera, Species, Subspecies - [`inner_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) [`left_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) [`right_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) [`full_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) [`semi_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) [`anti_join_microorganisms()`](https://amr-for-r.org/release/2.0.0/reference/join.md) : Join microorganisms to a Data Set - [`like()`](https://amr-for-r.org/release/2.0.0/reference/like.md) [`` `%like%` ``](https://amr-for-r.org/release/2.0.0/reference/like.md) [`` `%unlike%` ``](https://amr-for-r.org/release/2.0.0/reference/like.md) [`` `%like_case%` ``](https://amr-for-r.org/release/2.0.0/reference/like.md) [`` `%unlike_case%` ``](https://amr-for-r.org/release/2.0.0/reference/like.md) : Vectorised Pattern Matching with Keyboard Shortcut - [`mo_matching_score()`](https://amr-for-r.org/release/2.0.0/reference/mo_matching_score.md) : Calculate the Matching Score for Microorganisms - [`pca()`](https://amr-for-r.org/release/2.0.0/reference/pca.md) : Principal Component Analysis (for AMR) - [`random_mic()`](https://amr-for-r.org/release/2.0.0/reference/random.md) [`random_disk()`](https://amr-for-r.org/release/2.0.0/reference/random.md) [`random_sir()`](https://amr-for-r.org/release/2.0.0/reference/random.md) : Random MIC Values/Disk Zones/SIR Generation ## Other: statistical tests Some statistical tests or methods are not part of base R and were added to this package for convenience. - [`g.test()`](https://amr-for-r.org/release/2.0.0/reference/g.test.md) : *G*-test for Count Data - [`kurtosis()`](https://amr-for-r.org/release/2.0.0/reference/kurtosis.md) : Kurtosis of the Sample - [`skewness()`](https://amr-for-r.org/release/2.0.0/reference/skewness.md) : Skewness of the Sample ## Other: deprecated functions These functions are deprecated, meaning that they will still work but show a warning with every use and will be removed in a future version. - [`NA_rsi_`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`as.rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`facet_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`geom_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`ggplot_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`ggplot_rsi_predict()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`is.rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`is.rsi.eligible()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`labels_rsi_count()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`n_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`random_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`rsi_df()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`rsi_predict()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`scale_rsi_colours()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) [`theme_rsi()`](https://amr-for-r.org/release/2.0.0/reference/AMR-deprecated.md) : Deprecated Functions