mirror of
https://github.com/msberends/AMR.git
synced 2026-11-29 04:06:14 +01:00
Built site for AMR@3.0.1.9092: dab4c47
This commit is contained in:
1 parent
aaada11f5a
commit
01ed96cd7f
23 files changed
+281
-200
No files matched your search
@@ -78,20 +78,21 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
||||
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 44 089 observations and 15 variables:</p><ul><li><p><code>guideline</code><br> Name of the guideline</p></li>
|
||||
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 60 173 observations and 15 variables:</p><ul><li><p><code>guideline</code><br> Name of the guideline</p></li>
|
||||
<li><p><code>type</code><br> Breakpoint type, either <code>"ECOFF"</code>, <code>"animal"</code>, or <code>"human"</code></p></li>
|
||||
<li><p><code>host</code><br> Host of infectious agent. This is mostly useful for veterinary breakpoints and is either <code>"ECOFF"</code>, <code>"aquatic"</code>, <code>"cats"</code>, <code>"cattle"</code>, <code>"dogs"</code>, <code>"horse"</code>, <code>"human"</code>, <code>"poultry"</code>, or <code>"swine"</code></p></li>
|
||||
<li><p><code>method</code><br> Testing method, either <code>"DISK"</code> or <code>"MIC"</code></p></li>
|
||||
<li><p><code>site</code><br> Body site for which the breakpoint must be applied, e.g. "Oral" or "Respiratory"</p></li>
|
||||
<li><p><code>mo</code><br> Microbial ID, see <code><a href="as.mo.html">as.mo()</a></code></p></li>
|
||||
<li><p><code>rank_index</code><br> Taxonomic rank index of <code>mo</code> from 1 (subspecies/infraspecies) to 5 (unknown microorganism)</p></li>
|
||||
<li><p><code>rank_index</code><br> Taxonomic rank index of <code>mo</code> from 1 (subspecies/infraspecies) to 7 (non-species related breakpoints), used to choose the most specific breakpoint; blocking rows (see <em>Details</em>) have the rank index of their organism + 0.1</p></li>
|
||||
<li><p><code>ab</code><br> Antimicrobial code as used by this package, EARS-Net and WHONET, see <code><a href="as.ab.html">as.ab()</a></code></p></li>
|
||||
<li><p><code>ref_tbl</code><br> Info about where the guideline rule can be found</p></li>
|
||||
<li><p><code>disk_dose</code><br> Dose of the used disk diffusion method</p></li>
|
||||
<li><p><code>breakpoint_S</code><br> Lowest MIC value or highest number of millimetres that leads to "S"</p></li>
|
||||
<li><p><code>breakpoint_S</code><br> Lowest MIC value or highest number of millimetres that leads to "S", is <code>NA</code> for blocking rows (see <em>Details</em>)</p></li>
|
||||
<li><p><code>breakpoint_R</code><br> Highest MIC value or lowest number of millimetres that leads to "R", can be <code>NA</code></p></li>
|
||||
<li><p><code>uti</code><br> A <a href="https://rdrr.io/r/base/logical.html" class="external-link">logical</a> value (<code>TRUE</code>/<code>FALSE</code>) to indicate whether the rule applies to a urinary tract infection (UTI)</p></li>
|
||||
<li><p><code>is_SDD</code><br> A <a href="https://rdrr.io/r/base/logical.html" class="external-link">logical</a> value (<code>TRUE</code>/<code>FALSE</code>) to indicate whether the intermediate range between "S" and "R" should be interpreted as "SDD", instead of "I". This currently applies to 72 breakpoints.</p></li>
|
||||
<li><p><code>note</code><br> Notes from the guideline that apply to the breakpoint, if available</p></li>
|
||||
</ul></div>
|
||||
<div class="section level2">
|
||||
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
|
||||
@@ -104,6 +105,13 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
||||
<p>The default is <code>"human"</code>, which can also be set with the package option <code><a href="AMR-options.html">AMR_breakpoint_type</a></code>. Use <code><a href="as.sir.html">as.sir(..., breakpoint_type = ...)</a></code> to interpret raw data using a specific breakpoint type, e.g. <code>as.sir(..., breakpoint_type = "ECOFF")</code> to use ECOFFs.</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3 id="blocking-rows">Blocking Rows<a class="anchor" aria-label="anchor" href="#blocking-rows"></a></h3>
|
||||
|
||||
|
||||
<p>Where EUCAST lists an organism but gives no breakpoint for it (e.g. "IE", "-", "Note", breakpoints in brackets, or an organism excluded with "except"), <code><a href="as.sir.html">as.sir()</a></code> must not fall back to the breakpoint of a broader taxon, such as the breakpoint for <em>Vibrio</em> spp. where EUCAST gives "IE" for <em>V. fluvialis</em>. Such cases are included as "blocking rows": rows in which <code>breakpoint_S</code> and <code>breakpoint_R</code> are both <code>NA</code> and the <code>note</code> starts with <code>"[No breakpoint]"</code> followed by the reason. <code><a href="as.sir.html">as.sir()</a></code> returns <code>NA</code> for these. This currently applies to 14 523 rows. Remove them with <code>subset(clinical_breakpoints, !is.na(breakpoint_S))</code> if only actual breakpoints are needed.</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3 id="imported-from-whonet">Imported From WHONET<a class="anchor" aria-label="anchor" href="#imported-from-whonet"></a></h3>
|
||||
|
||||
@@ -112,7 +120,8 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
||||
<p>From WHONET, imported were:</p><ul><li><p>All CLSI breakpoints, including ECOFF</p></li>
|
||||
<li><p>All non-human EUCAST breakpoints, including ECOFF</p></li>
|
||||
<li><p>Human EUCAST breakpoints between 2011 and 2018</p></li>
|
||||
</ul><p>Human EUCAST breakpoints from 2019 onwards, were retrieved directly from <a href="https://www.eucast.org" class="external-link">https://www.eucast.org</a> using <a href="https://github.com/msberends/AMR/blob/main/data-raw/_reproduction_scripts/reproduction_of_clinical_breakpoints_eucast.R" class="external-link">this script</a>.</p>
|
||||
<li><p>Human EUCAST antifungal breakpoints between 2019 and 2025</p></li>
|
||||
</ul><p>Human EUCAST breakpoints from 2019 onwards (antifungal breakpoints from 2026 onwards) were retrieved directly from the EUCAST Clinical Breakpoint Tables published on <a href="https://www.eucast.org" class="external-link">https://www.eucast.org</a>, using <a href="https://github.com/msberends/AMR/blob/main/data-raw/_reproduction_scripts/reproduction_of_clinical_breakpoints_eucast.R" class="external-link">this script</a>.</p>
|
||||
<p>Our WHONET import script can be <a href="https://github.com/msberends/AMR/blob/main/data-raw/_reproduction_scripts/reproduction_of_clinical_breakpoints.R" class="external-link">found here</a>.</p>
|
||||
</div>
|
||||
|
||||
@@ -147,20 +156,20 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">clinical_breakpoints</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 44,089 × 15</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> guideline type host method site mo rank_index ab ref_tbl </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 MEM A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 MEM A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 SXT A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 SXT A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 TZP A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 TZP A.xylos…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> EUCAST 2026 human human DISK infect… <span style="color: #949494;">B_</span>ACNTB 3 AMK Acineto…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> EUCAST 2026 human human MIC infect… <span style="color: #949494;">B_</span>ACNTB 3 AMK Acineto…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACNTB 3 CIP Acineto…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> EUCAST 2026 human human DISK Topical <span style="color: #949494;">B_</span>ACNTB 3 CIP Topical…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 44,079 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 60,173 × 15</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> guideline type host method site mo rank_index ab ref_tbl </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2.1 FDC A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2.1 FDC A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 MEM A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 MEM A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 SXT A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 SXT A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 TZP A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACHRMB<span style="color: #949494;">_</span>XYLS 2 TZP A.xylosox…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> EUCAST 2026 human human DISK <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACNTB 3.1 AMC Acinetoba…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> EUCAST 2026 human human MIC <span style="color: #BB0000;">NA</span> <span style="color: #949494;">B_</span>ACNTB 3.1 AMC Acinetoba…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 60,163 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 6 more variables: disk_dose <chr>, breakpoint_S <dbl>, breakpoint_R <dbl>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># uti <lgl>, is_SDD <lgl>, note <chr></span></span>
|
||||
</code></pre></div>
|
||||
|
||||
Reference in new issue
Block a user