1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-28 04:06:12 +01:00
AMR/reference/index.html

544 lines
35 KiB
HTML
Raw Normal View History

2022-08-21 16:59:35 +02:00
<!DOCTYPE html>
2024-09-19 14:48:19 +02:00
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Package index • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/Lato-0.4.9/font.css" rel="stylesheet"><link href="../deps/Fira_Code-0.4.9/font.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Package index"><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"></head><body>
2022-08-21 16:59:35 +02:00
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
2024-07-16 15:00:55 +02:00
<nav class="navbar navbar-expand-lg fixed-top bg-primary" data-bs-theme="dark" aria-label="Site navigation"><div class="container">
2022-08-21 16:59:35 +02:00
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
2024-10-15 17:24:09 +02:00
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9095</small>
2024-07-16 15:00:55 +02:00
2022-08-21 16:59:35 +02:00
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
2023-05-24 16:03:18 +02:00
<ul class="navbar-nav me-auto"><li class="nav-item dropdown">
2024-07-16 15:00:55 +02:00
<button class="nav-link dropdown-toggle" type="button" id="dropdown-how-to" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true"><span class="fa fa-question-circle"></span> How to</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-how-to"><li><a class="dropdown-item" href="../articles/AMR.html"><span class="fa fa-directions"></span> Conduct AMR Analysis</a></li>
<li><a class="dropdown-item" href="../reference/antibiogram.html"><span class="fa fa-file-prescription"></span> Generate Antibiogram (Trad./Syndromic/WISCA)</a></li>
<li><a class="dropdown-item" href="../articles/resistance_predict.html"><span class="fa fa-dice"></span> Predict Antimicrobial Resistance</a></li>
<li><a class="dropdown-item" href="../articles/datasets.html"><span class="fa fa-database"></span> Download Data Sets for Own Use</a></li>
<li><a class="dropdown-item" href="../reference/AMR-options.html"><span class="fa fa-gear"></span> Set User- Or Team-specific Package Settings</a></li>
<li><a class="dropdown-item" href="../articles/PCA.html"><span class="fa fa-compress"></span> Conduct Principal Component Analysis for AMR</a></li>
<li><a class="dropdown-item" href="../articles/MDR.html"><span class="fa fa-skull-crossbones"></span> Determine Multi-Drug Resistance (MDR)</a></li>
<li><a class="dropdown-item" href="../articles/WHONET.html"><span class="fa fa-globe-americas"></span> Work with WHONET Data</a></li>
<li><a class="dropdown-item" href="../articles/EUCAST.html"><span class="fa fa-exchange-alt"></span> Apply Eucast Rules</a></li>
<li><a class="dropdown-item" href="../reference/mo_property.html"><span class="fa fa-bug"></span> Get Taxonomy of a Microorganism</a></li>
<li><a class="dropdown-item" href="../reference/ab_property.html"><span class="fa fa-capsules"></span> Get Properties of an Antibiotic Drug</a></li>
<li><a class="dropdown-item" href="../reference/av_property.html"><span class="fa fa-capsules"></span> Get Properties of an Antiviral Drug</a></li>
</ul></li>
2024-09-30 22:12:21 +02:00
<li class="nav-item"><a class="nav-link" href="../articles/AMR_for_Python.html"><span class="fa fab fa-python"></span> AMR for Python</a></li>
2024-07-16 15:00:55 +02:00
<li class="active nav-item"><a class="nav-link" href="../reference/index.html"><span class="fa fa-book-open"></span> Manual</a></li>
<li class="nav-item"><a class="nav-link" href="../authors.html"><span class="fa fa-users"></span> Authors</a></li>
</ul><ul class="navbar-nav"><li class="nav-item"><a class="nav-link" href="../news/index.html"><span class="fa far fa-newspaper"></span> Changelog</a></li>
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/msberends/AMR"><span class="fa fab fa-github"></span> Source Code</a></li>
2022-08-21 16:59:35 +02:00
</ul></div>
2024-07-16 15:00:55 +02:00
2022-08-21 16:59:35 +02:00
</div>
</nav><div class="container template-reference-index">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
2024-07-16 15:00:55 +02:00
<img src="../logo.svg" class="logo" alt=""><h1>Package index</h1>
2022-08-21 16:59:35 +02:00
</div>
<div class="section level2">
2023-10-22 15:59:03 +02:00
<h2 id="introduction-to-the-package">Introduction to the package<a class="anchor" aria-label="anchor" href="#introduction-to-the-package"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>Please find the introduction to (and some general information about) our package here.</p></div>
2023-10-22 15:59:03 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2023-10-22 15:59:03 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="AMR.html">AMR-package</a></code> <code><a href="AMR.html">AMR</a></code>
2023-10-22 15:59:03 +02:00
</dt>
<dd>The <code>AMR</code> Package</dd>
</dl></div><div class="section level2">
2022-08-21 16:59:35 +02:00
<h2 id="preparing-data-microorganisms">Preparing data: microorganisms<a class="anchor" aria-label="anchor" href="#preparing-data-microorganisms"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>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 (<code><a href="../reference/mo_property.html">mo_gramstain()</a></code>) , or <code><a href="../reference/mo_property.html">mo_is_yeast()</a></code>. Use <code><a href="../reference/mo_source.html">mo_source()</a></code> 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.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.mo.html">as.mo()</a></code> <code><a href="as.mo.html">is.mo()</a></code> <code><a href="as.mo.html">mo_uncertainties()</a></code> <code><a href="as.mo.html">mo_renamed()</a></code> <code><a href="as.mo.html">mo_failures()</a></code> <code><a href="as.mo.html">mo_reset_session()</a></code> <code><a href="as.mo.html">mo_cleaning_regex()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2023-02-22 14:47:35 +01:00
<dd>Transform Arbitrary Input to Valid Microbial Taxonomy</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="mo_property.html">mo_name()</a></code> <code><a href="mo_property.html">mo_fullname()</a></code> <code><a href="mo_property.html">mo_shortname()</a></code> <code><a href="mo_property.html">mo_subspecies()</a></code> <code><a href="mo_property.html">mo_species()</a></code> <code><a href="mo_property.html">mo_genus()</a></code> <code><a href="mo_property.html">mo_family()</a></code> <code><a href="mo_property.html">mo_order()</a></code> <code><a href="mo_property.html">mo_class()</a></code> <code><a href="mo_property.html">mo_phylum()</a></code> <code><a href="mo_property.html">mo_kingdom()</a></code> <code><a href="mo_property.html">mo_domain()</a></code> <code><a href="mo_property.html">mo_type()</a></code> <code><a href="mo_property.html">mo_status()</a></code> <code><a href="mo_property.html">mo_pathogenicity()</a></code> <code><a href="mo_property.html">mo_gramstain()</a></code> <code><a href="mo_property.html">mo_is_gram_negative()</a></code> <code><a href="mo_property.html">mo_is_gram_positive()</a></code> <code><a href="mo_property.html">mo_is_yeast()</a></code> <code><a href="mo_property.html">mo_is_intrinsic_resistant()</a></code> <code><a href="mo_property.html">mo_oxygen_tolerance()</a></code> <code><a href="mo_property.html">mo_is_anaerobic()</a></code> <code><a href="mo_property.html">mo_snomed()</a></code> <code><a href="mo_property.html">mo_ref()</a></code> <code><a href="mo_property.html">mo_authors()</a></code> <code><a href="mo_property.html">mo_year()</a></code> <code><a href="mo_property.html">mo_lpsn()</a></code> <code><a href="mo_property.html">mo_mycobank()</a></code> <code><a href="mo_property.html">mo_gbif()</a></code> <code><a href="mo_property.html">mo_rank()</a></code> <code><a href="mo_property.html">mo_taxonomy()</a></code> <code><a href="mo_property.html">mo_synonyms()</a></code> <code><a href="mo_property.html">mo_current()</a></code> <code><a href="mo_property.html">mo_group_members()</a></code> <code><a href="mo_property.html">mo_info()</a></code> <code><a href="mo_property.html">mo_url()</a></code> <code><a href="mo_property.html">mo_property()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Get Properties of a Microorganism</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="add_custom_microorganisms.html">add_custom_microorganisms()</a></code> <code><a href="add_custom_microorganisms.html">clear_custom_microorganisms()</a></code>
2022-12-27 16:14:41 +01:00
</dt>
2023-01-14 20:00:10 +01:00
<dd>Add Custom Microorganisms</dd>
2022-12-27 16:14:41 +01:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="mo_source.html">set_mo_source()</a></code> <code><a href="mo_source.html">get_mo_source()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>User-Defined Reference Data Set for Microorganisms</dd>
</dl></div><div class="section level2">
<h2 id="preparing-data-antibiotics">Preparing data: antibiotics<a class="anchor" aria-label="anchor" href="#preparing-data-antibiotics"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>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 <code><a href="../reference/ab_from_text.html">ab_from_text()</a></code>.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.ab.html">as.ab()</a></code> <code><a href="as.ab.html">is.ab()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Transform Input to an Antibiotic ID</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="ab_property.html">ab_name()</a></code> <code><a href="ab_property.html">ab_cid()</a></code> <code><a href="ab_property.html">ab_synonyms()</a></code> <code><a href="ab_property.html">ab_tradenames()</a></code> <code><a href="ab_property.html">ab_group()</a></code> <code><a href="ab_property.html">ab_atc()</a></code> <code><a href="ab_property.html">ab_atc_group1()</a></code> <code><a href="ab_property.html">ab_atc_group2()</a></code> <code><a href="ab_property.html">ab_loinc()</a></code> <code><a href="ab_property.html">ab_ddd()</a></code> <code><a href="ab_property.html">ab_ddd_units()</a></code> <code><a href="ab_property.html">ab_info()</a></code> <code><a href="ab_property.html">ab_url()</a></code> <code><a href="ab_property.html">ab_property()</a></code> <code><a href="ab_property.html">set_ab_names()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Get Properties of an Antibiotic</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="ab_from_text.html">ab_from_text()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Retrieve Antimicrobial Drug Names and Doses from Clinical Text</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="atc_online.html">atc_online_property()</a></code> <code><a href="atc_online.html">atc_online_groups()</a></code> <code><a href="atc_online.html">atc_online_ddd()</a></code> <code><a href="atc_online.html">atc_online_ddd_units()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Get ATC Properties from WHOCC Website</dd>
2022-10-10 20:27:14 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="add_custom_antimicrobials.html">add_custom_antimicrobials()</a></code> <code><a href="add_custom_antimicrobials.html">clear_custom_antimicrobials()</a></code>
2022-10-10 20:27:14 +02:00
</dt>
2023-01-14 20:00:10 +01:00
<dd>Add Custom Antimicrobials</dd>
2022-08-21 16:59:35 +02:00
</dl></div><div class="section level2">
2024-06-10 10:40:19 +02:00
<h2 id="preparing-data-antimicrobial-results">Preparing data: antimicrobial results<a class="anchor" aria-label="anchor" href="#preparing-data-antimicrobial-results"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>With <code><a href="../reference/as.mic.html">as.mic()</a></code> and <code><a href="../reference/as.disk.html">as.disk()</a></code> you can transform your raw input to valid MIC or disk diffusion values. Use <code><a href="../reference/as.sir.html">as.sir()</a></code> 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 <a href="https://www.eucast.org/expert_rules_and_intrinsic_resistance/" class="external-link">EUCAST rules</a> with <code><a href="../reference/eucast_rules.html">eucast_rules()</a></code>.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.sir.html">as.sir()</a></code> <code><a href="as.sir.html">NA_sir_</a></code> <code><a href="as.sir.html">is.sir()</a></code> <code><a href="as.sir.html">is_sir_eligible()</a></code> <code><a href="as.sir.html">sir_interpretation_history()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2023-01-21 23:53:21 +01:00
<dd>Translate MIC and Disk Diffusion to SIR, or Clean Existing SIR Data</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.mic.html">as.mic()</a></code> <code><a href="as.mic.html">is.mic()</a></code> <code><a href="as.mic.html">NA_mic_</a></code> <code><a href="as.mic.html">rescale_mic()</a></code> <code><a href="as.mic.html">droplevels(<i>&lt;mic&gt;</i>)</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Transform Input to Minimum Inhibitory Concentrations (MIC)</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.disk.html">as.disk()</a></code> <code><a href="as.disk.html">NA_disk_</a></code> <code><a href="as.disk.html">is.disk()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Transform Input to Disk Diffusion Diameters</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="eucast_rules.html">eucast_rules()</a></code> <code><a href="eucast_rules.html">eucast_dosage()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Apply EUCAST Rules</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="custom_eucast_rules.html">custom_eucast_rules()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Define Custom EUCAST Rules</dd>
</dl></div><div class="section level2">
2023-12-03 11:41:04 +01:00
<h2 id="analysing-data">Analysing data<a class="anchor" aria-label="anchor" href="#analysing-data"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>Use these function for the analysis part. You can use <code><a href="../reference/proportion.html">susceptibility()</a></code> or <code><a href="../reference/proportion.html">resistance()</a></code> on any antibiotic column. With <code><a href="../reference/antibiogram.html">antibiogram()</a></code>, 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 <code><a href="../reference/first_isolate.html">first_isolate()</a></code> or <code><a href="../reference/get_episode.html">is_new_episode()</a></code>. You can also filter your data on certain resistance in certain antibiotic classes (<code><a href="../reference/antibiotic_class_selectors.html">carbapenems()</a></code>, <code><a href="../reference/antibiotic_class_selectors.html">aminoglycosides()</a></code>), or determine multi-drug resistant microorganisms (MDRO, <code><a href="../reference/mdro.html">mdro()</a></code>).</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="antibiogram.html">antibiogram()</a></code> <code><a href="antibiogram.html">plot(<i>&lt;antibiogram&gt;</i>)</a></code> <code><a href="antibiogram.html">autoplot(<i>&lt;antibiogram&gt;</i>)</a></code> <code><a href="antibiogram.html">knit_print(<i>&lt;antibiogram&gt;</i>)</a></code>
2023-02-08 17:01:47 +01:00
</dt>
2024-09-22 11:55:27 +02:00
<dd>Generate Traditional, Combination, Syndromic, or WISCA Antibiograms</dd>
2023-02-08 17:01:47 +01:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="proportion.html">resistance()</a></code> <code><a href="proportion.html">susceptibility()</a></code> <code><a href="proportion.html">sir_confidence_interval()</a></code> <code><a href="proportion.html">proportion_R()</a></code> <code><a href="proportion.html">proportion_IR()</a></code> <code><a href="proportion.html">proportion_I()</a></code> <code><a href="proportion.html">proportion_SI()</a></code> <code><a href="proportion.html">proportion_S()</a></code> <code><a href="proportion.html">proportion_df()</a></code> <code><a href="proportion.html">sir_df()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2023-02-08 17:01:47 +01:00
<dd>Calculate Antimicrobial Resistance</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="count.html">count_resistant()</a></code> <code><a href="count.html">count_susceptible()</a></code> <code><a href="count.html">count_S()</a></code> <code><a href="count.html">count_SI()</a></code> <code><a href="count.html">count_I()</a></code> <code><a href="count.html">count_IR()</a></code> <code><a href="count.html">count_R()</a></code> <code><a href="count.html">count_all()</a></code> <code><a href="count.html">n_sir()</a></code> <code><a href="count.html">count_df()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Count Available Isolates</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="get_episode.html">get_episode()</a></code> <code><a href="get_episode.html">is_new_episode()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2023-03-11 17:02:25 +01:00
<dd>Determine Clinical or Epidemic Episodes</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="first_isolate.html">first_isolate()</a></code> <code><a href="first_isolate.html">filter_first_isolate()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Determine First Isolates</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="key_antimicrobials.html">key_antimicrobials()</a></code> <code><a href="key_antimicrobials.html">all_antimicrobials()</a></code> <code><a href="key_antimicrobials.html">antimicrobials_equal()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>(Key) Antimicrobials for First Weighted Isolates</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="mdro.html">mdro()</a></code> <code><a href="mdro.html">custom_mdro_guideline()</a></code> <code><a href="mdro.html">brmo()</a></code> <code><a href="mdro.html">mrgn()</a></code> <code><a href="mdro.html">mdr_tb()</a></code> <code><a href="mdro.html">mdr_cmi2012()</a></code> <code><a href="mdro.html">eucast_exceptional_phenotypes()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Determine Multidrug-Resistant Organisms (MDRO)</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="bug_drug_combinations.html">bug_drug_combinations()</a></code> <code><a href="bug_drug_combinations.html">format(<i>&lt;bug_drug_combinations&gt;</i>)</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Determine Bug-Drug Combinations</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="antibiotic_class_selectors.html">ab_class()</a></code> <code><a href="antibiotic_class_selectors.html">ab_selector()</a></code> <code><a href="antibiotic_class_selectors.html">aminoglycosides()</a></code> <code><a href="antibiotic_class_selectors.html">aminopenicillins()</a></code> <code><a href="antibiotic_class_selectors.html">antifungals()</a></code> <code><a href="antibiotic_class_selectors.html">antimycobacterials()</a></code> <code><a href="antibiotic_class_selectors.html">betalactams()</a></code> <code><a href="antibiotic_class_selectors.html">carbapenems()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins_1st()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins_2nd()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins_3rd()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins_4th()</a></code> <code><a href="antibiotic_class_selectors.html">cephalosporins_5th()</a></code> <code><a href="antibiotic_class_selectors.html">fluoroquinolones()</a></code> <code><a href="antibiotic_class_selectors.html">glycopeptides()</a></code> <code><a href="antibiotic_class_selectors.html">lincosamides()</a></code> <code><a href="antibiotic_class_selectors.html">lipoglycopeptides()</a></code> <code><a href="antibiotic_class_selectors.html">macrolides()</a></code> <code><a href="antibiotic_class_selectors.html">nitrofurans()</a></code> <code><a href="antibiotic_class_selectors.html">oxazolidinones()</a></code> <code><a href="antibiotic_class_selectors.html">penicillins()</a></code> <code><a href="antibiotic_class_selectors.html">polymyxins()</a></code> <code><a href="antibiotic_class_selectors.html">quinolones()</a></code> <code><a href="antibiotic_class_selectors.html">rifamycins()</a></code> <code><a href="antibiotic_class_selectors.html">streptogramins()</a></code> <code><a href="antibiotic_class_selectors.html">tetracyclines()</a></code> <code><a href="antibiotic_class_selectors.html">trimethoprims()</a></code> <code><a href="antibiotic_class_selectors.html">ureidopenicillins()</a></code> <code><a href="antibiotic_class_selectors.html">administrable_per_os()</a></code> <code><a href="antibiotic_class_selectors.html">administrable_iv()</a></code> <code><a href="antibiotic_class_selectors.html">not_intrinsic_resistant()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Antibiotic Selectors</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="mean_amr_distance.html">mean_amr_distance()</a></code> <code><a href="mean_amr_distance.html">amr_distance_from_row()</a></code>
2022-08-30 22:22:19 +02:00
</dt>
2022-12-30 13:10:58 +01:00
<dd>Calculate the Mean AMR Distance</dd>
2022-08-30 22:22:19 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="resistance_predict.html">resistance_predict()</a></code> <code><a href="resistance_predict.html">sir_predict()</a></code> <code><a href="resistance_predict.html">plot(<i>&lt;resistance_predict&gt;</i>)</a></code> <code><a href="resistance_predict.html">ggplot_sir_predict()</a></code> <code><a href="resistance_predict.html">autoplot(<i>&lt;resistance_predict&gt;</i>)</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Predict Antimicrobial Resistance</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="guess_ab_col.html">guess_ab_col()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Guess Antibiotic Column</dd>
</dl></div><div class="section level2">
2023-12-03 11:41:04 +01:00
<h2 id="plotting-data">Plotting data<a class="anchor" aria-label="anchor" href="#plotting-data"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>Use these functions for the plotting part. The <code>scale_*_mic()</code> functions extend the ggplot2 package to allow plotting of MIC values, even within a manually set range. If using <code><a href="../reference/plot.html">plot()</a></code> (base R) or <code>autoplot()</code> (ggplot2) on MIC values or disk diffusion values, the user can set the interpretation guideline to give the bars the right SIR colours. The <code><a href="../reference/ggplot_sir.html">ggplot_sir()</a></code> function is a short wrapper for users not much accustomed to ggplot2 yet. The <code><a href="../reference/ggplot_pca.html">ggplot_pca()</a></code> function is a specific function to plot so-called biplots for PCA (principal component analysis).</p></div>
2023-12-03 11:41:04 +01:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2023-12-03 11:41:04 +01:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="plot.html">scale_x_mic()</a></code> <code><a href="plot.html">scale_y_mic()</a></code> <code><a href="plot.html">scale_colour_mic()</a></code> <code><a href="plot.html">scale_fill_mic()</a></code> <code><a href="plot.html">plot(<i>&lt;mic&gt;</i>)</a></code> <code><a href="plot.html">autoplot(<i>&lt;mic&gt;</i>)</a></code> <code><a href="plot.html">fortify(<i>&lt;mic&gt;</i>)</a></code> <code><a href="plot.html">plot(<i>&lt;disk&gt;</i>)</a></code> <code><a href="plot.html">autoplot(<i>&lt;disk&gt;</i>)</a></code> <code><a href="plot.html">fortify(<i>&lt;disk&gt;</i>)</a></code> <code><a href="plot.html">plot(<i>&lt;sir&gt;</i>)</a></code> <code><a href="plot.html">autoplot(<i>&lt;sir&gt;</i>)</a></code> <code><a href="plot.html">fortify(<i>&lt;sir&gt;</i>)</a></code>
2023-12-03 11:41:04 +01:00
</dt>
<dd>Plotting for Classes <code>sir</code>, <code>mic</code> and <code>disk</code></dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="ggplot_sir.html">ggplot_sir()</a></code> <code><a href="ggplot_sir.html">geom_sir()</a></code> <code><a href="ggplot_sir.html">facet_sir()</a></code> <code><a href="ggplot_sir.html">scale_y_percent()</a></code> <code><a href="ggplot_sir.html">scale_sir_colours()</a></code> <code><a href="ggplot_sir.html">theme_sir()</a></code> <code><a href="ggplot_sir.html">labels_sir_count()</a></code>
2023-12-03 11:41:04 +01:00
</dt>
<dd>AMR Plots with <code>ggplot2</code></dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="ggplot_pca.html">ggplot_pca()</a></code>
2023-12-03 11:41:04 +01:00
</dt>
<dd>PCA Biplot with <code>ggplot2</code></dd>
</dl></div><div class="section level2">
2024-06-10 10:40:19 +02:00
<h2 id="amr-specific-options">AMR-specific options<a class="anchor" aria-label="anchor" href="#amr-specific-options"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>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.</p></div>
2023-01-23 20:14:37 +01:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2023-01-23 20:14:37 +01:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="AMR-options.html">AMR-options</a></code>
2023-01-23 20:14:37 +01:00
</dt>
<dd>Options for the AMR package</dd>
</dl></div><div class="section level2">
2022-11-13 08:54:32 +01:00
<h2 id="other-antiviral-drugs">Other: antiviral drugs<a class="anchor" aria-label="anchor" href="#other-antiviral-drugs"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>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 <code><a href="../reference/av_from_text.html">av_from_text()</a></code>.</p></div>
2022-11-13 08:54:32 +01:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-11-13 08:54:32 +01:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="as.av.html">as.av()</a></code> <code><a href="as.av.html">is.av()</a></code>
2022-11-13 08:54:32 +01:00
</dt>
2022-11-13 13:52:01 +01:00
<dd>Transform Input to an Antiviral Drug ID</dd>
2022-11-13 08:54:32 +01:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="av_property.html">av_name()</a></code> <code><a href="av_property.html">av_cid()</a></code> <code><a href="av_property.html">av_synonyms()</a></code> <code><a href="av_property.html">av_tradenames()</a></code> <code><a href="av_property.html">av_group()</a></code> <code><a href="av_property.html">av_atc()</a></code> <code><a href="av_property.html">av_loinc()</a></code> <code><a href="av_property.html">av_ddd()</a></code> <code><a href="av_property.html">av_ddd_units()</a></code> <code><a href="av_property.html">av_info()</a></code> <code><a href="av_property.html">av_url()</a></code> <code><a href="av_property.html">av_property()</a></code>
2022-11-13 08:54:32 +01:00
</dt>
2022-11-13 13:52:01 +01:00
<dd>Get Properties of an Antiviral Drug</dd>
2022-11-13 08:54:32 +01:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="av_from_text.html">av_from_text()</a></code>
2022-11-13 08:54:32 +01:00
</dt>
<dd>Retrieve Antiviral Drug Names and Doses from Clinical Text</dd>
</dl></div><div class="section level2">
<h2 id="other-background-information-on-included-data">Other: background information on included data<a class="anchor" aria-label="anchor" href="#other-background-information-on-included-data"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>Some pages about our package and its external sources. Be sure to read our <a href="./../articles/index.html">How Tos</a> for more information about how to work with functions in this package.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="microorganisms.html">microorganisms</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2024-09-29 22:25:53 +02:00
<dd>Data Set with 78 678 Taxonomic Records of Microorganisms</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="antibiotics.html">antibiotics</a></code> <code><a href="antibiotics.html">antivirals</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2024-06-17 16:58:07 +02:00
<dd>Data Sets with 605 Antimicrobial Drugs</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="clinical_breakpoints.html">clinical_breakpoints</a></code>
2024-06-17 16:58:07 +02:00
</dt>
<dd>Data Set with Clinical Breakpoints for SIR Interpretation</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="example_isolates.html">example_isolates</a></code>
2024-06-17 16:58:07 +02:00
</dt>
<dd>Data Set with 2 000 Example Isolates</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="microorganisms.codes.html">microorganisms.codes</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2024-06-16 11:34:56 +02:00
<dd>Data Set with 4 971 Common Microorganism Codes</dd>
2023-07-08 21:10:45 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="microorganisms.groups.html">microorganisms.groups</a></code>
2023-07-08 21:10:45 +02:00
</dt>
2023-07-14 10:58:39 +02:00
<dd>Data Set with 521 Microorganisms In Species Groups</dd>
2022-08-21 16:59:35 +02:00
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="intrinsic_resistant.html">intrinsic_resistant</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Data Set with Bacterial Intrinsic Resistance</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="dosage.html">dosage</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Data Set with Treatment Dosages as Defined by EUCAST</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="WHOCC.html">WHOCC</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>WHOCC: WHO Collaborating Centre for Drug Statistics Methodology</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="example_isolates_unclean.html">example_isolates_unclean</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Data Set with Unclean Data</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="WHONET.html">WHONET</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Data Set with 500 Isolates - WHONET Example</dd>
</dl></div><div class="section level2">
<h2 id="other-miscellaneous-functions">Other: miscellaneous functions<a class="anchor" aria-label="anchor" href="#other-miscellaneous-functions"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>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: <code>if (x %like% y) {...}</code>.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="age_groups.html">age_groups()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Split Ages into Age Groups</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="age.html">age()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Age in Years of Individuals</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="export_ncbi_biosample.html">export_ncbi_biosample()</a></code>
2024-06-10 10:40:19 +02:00
</dt>
<dd>Export Data Set as NCBI BioSample Antibiogram</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="availability.html">availability()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Check Availability of Columns</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="translate.html">get_AMR_locale()</a></code> <code><a href="translate.html">set_AMR_locale()</a></code> <code><a href="translate.html">reset_AMR_locale()</a></code> <code><a href="translate.html">translate_AMR()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Translate Strings from the AMR Package</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="italicise_taxonomy.html">italicise_taxonomy()</a></code> <code><a href="italicise_taxonomy.html">italicize_taxonomy()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Italicise Taxonomic Families, Genera, Species, Subspecies</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="join.html">inner_join_microorganisms()</a></code> <code><a href="join.html">left_join_microorganisms()</a></code> <code><a href="join.html">right_join_microorganisms()</a></code> <code><a href="join.html">full_join_microorganisms()</a></code> <code><a href="join.html">semi_join_microorganisms()</a></code> <code><a href="join.html">anti_join_microorganisms()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Join microorganisms to a Data Set</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="like.html">like()</a></code> <code><a href="like.html">`%like%`</a></code> <code><a href="like.html">`%unlike%`</a></code> <code><a href="like.html">`%like_case%`</a></code> <code><a href="like.html">`%unlike_case%`</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Vectorised Pattern Matching with Keyboard Shortcut</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="mo_matching_score.html">mo_matching_score()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Calculate the Matching Score for Microorganisms</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="pca.html">pca()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Principal Component Analysis (for AMR)</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="random.html">random_mic()</a></code> <code><a href="random.html">random_disk()</a></code> <code><a href="random.html">random_sir()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
2023-01-21 23:53:21 +01:00
<dd>Random MIC Values/Disk Zones/SIR Generation</dd>
2022-08-21 16:59:35 +02:00
</dl></div><div class="section level2">
<h2 id="other-statistical-tests">Other: statistical tests<a class="anchor" aria-label="anchor" href="#other-statistical-tests"></a></h2>
2024-07-16 15:00:55 +02:00
2024-04-23 10:39:01 +02:00
<div class="section-desc"><p>Some statistical tests or methods are not part of base R and were added to this package for convenience.</p></div>
2022-08-21 16:59:35 +02:00
2024-07-16 15:00:55 +02:00
</div><div class="section level2">
2022-08-21 16:59:35 +02:00
<dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="g.test.html">g.test()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd><em>G</em>-test for Count Data</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="kurtosis.html">kurtosis()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Kurtosis of the Sample</dd>
</dl><dl><dt>
2024-07-16 15:00:55 +02:00
<code><a href="skewness.html">skewness()</a></code>
2022-08-21 16:59:35 +02:00
</dt>
<dd>Skewness of the Sample</dd>
</dl></div>
2024-07-16 15:00:55 +02:00
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
2022-08-21 16:59:35 +02:00
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
2024-04-23 10:39:01 +02:00
<p><code>AMR</code> (for R). Free and open-source, licenced under the <a target="_blank" href="https://github.com/msberends/AMR/blob/main/LICENSE" class="external-link">GNU General Public License version 2.0 (GPL-2)</a>.<br>Developed at the <a target="_blank" href="https://www.rug.nl" class="external-link">University of Groningen</a> and <a target="_blank" href="https://www.umcg.nl" class="external-link">University Medical Center Groningen</a> in The Netherlands.</p>
2022-08-21 16:59:35 +02:00
</div>
<div class="pkgdown-footer-right">
2024-09-19 14:48:19 +02:00
<p><a target="_blank" href="https://www.rug.nl" class="external-link"><img src="https://github.com/msberends/AMR/raw/main/pkgdown/assets/logo_rug.svg" style="max-width: 150px;"></a><a target="_blank" href="https://www.umcg.nl" class="external-link"><img src="https://github.com/msberends/AMR/raw/main/pkgdown/assets/logo_umcg.svg" style="max-width: 150px;"></a></p>
2022-08-21 16:59:35 +02:00
</div>
</footer></div>
2024-07-16 15:00:55 +02:00
2022-08-21 16:59:35 +02:00
</body></html>