mirror of
https://github.com/msberends/AMR.git
synced 2026-11-29 00:46:13 +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
+10
-10
@@ -112,16 +112,16 @@
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="va">df</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1999-06-30 27 27.25479 0</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.67123 31</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.82192 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.58630 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 76 76.91507 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.62740 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.61370 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.72329 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.09589 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.67945 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1999-06-30 27 27.25753 0</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.67397 31</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.82466 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.58904 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 76 76.91781 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.63014 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.61644 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.72603 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.09863 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.68219 21</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
|
||||
+10
-10
@@ -81,14 +81,14 @@ df$age_at_y2k <- age(df$birth_date, "2000-01-01")
|
||||
|
||||
df
|
||||
#> birth_date age age_exact age_at_y2k
|
||||
#> 1 1999-06-30 27 27.25479 0
|
||||
#> 2 1968-01-29 58 58.67123 31
|
||||
#> 3 1965-12-05 60 60.82192 34
|
||||
#> 4 1980-03-01 46 46.58630 19
|
||||
#> 5 1949-11-01 76 76.91507 50
|
||||
#> 6 1947-02-14 79 79.62740 52
|
||||
#> 7 1940-02-19 86 86.61370 59
|
||||
#> 8 1988-01-10 38 38.72329 11
|
||||
#> 9 1997-08-27 29 29.09589 2
|
||||
#> 10 1978-01-26 48 48.67945 21
|
||||
#> 1 1999-06-30 27 27.25753 0
|
||||
#> 2 1968-01-29 58 58.67397 31
|
||||
#> 3 1965-12-05 60 60.82466 34
|
||||
#> 4 1980-03-01 46 46.58904 19
|
||||
#> 5 1949-11-01 76 76.91781 50
|
||||
#> 6 1947-02-14 79 79.63014 52
|
||||
#> 7 1940-02-19 86 86.61644 59
|
||||
#> 8 1988-01-10 38 38.72603 11
|
||||
#> 9 1997-08-27 29 29.09863 2
|
||||
#> 10 1978-01-26 48 48.68219 21
|
||||
```
|
||||
@@ -462,10 +462,10 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 4 × 18</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> datetime index method ab_given mo_given host_given input_given</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></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>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2026-10-01 <span style="color: #949494;">14:00:31</span> 1 MIC amoxicillin Escherich… human 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2026-10-01 <span style="color: #949494;">14:00:31</span> 1 MIC cipro Escherich… human 0.256 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2026-10-01 <span style="color: #949494;">14:00:31</span> 1 DISK tobra Escherich… human 16 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> 2026-10-01 <span style="color: #949494;">14:00:31</span> 1 DISK genta Escherich… human 18 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2026-10-02 <span style="color: #949494;">04:06:50</span> 1 MIC amoxicillin Escherich… human 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2026-10-02 <span style="color: #949494;">04:06:50</span> 1 MIC cipro Escherich… human 0.256 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2026-10-02 <span style="color: #949494;">04:06:50</span> 1 DISK tobra Escherich… human 16 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> 2026-10-02 <span style="color: #949494;">04:06:51</span> 1 DISK genta Escherich… human 18 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># breakpoint_S_R <chr>, site <chr></span></span>
|
||||
|
||||
+4
-4
@@ -712,10 +712,10 @@ sir_interpretation_history()
|
||||
#> # A tibble: 4 × 18
|
||||
#> datetime index method ab_given mo_given host_given input_given
|
||||
#> <dttm> <int> <chr> <chr> <chr> <chr> <chr>
|
||||
#> 1 2026-10-01 14:00:31 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2026-10-01 14:00:31 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2026-10-01 14:00:31 1 DISK tobra Escherich… human 16
|
||||
#> 4 2026-10-01 14:00:31 1 DISK genta Escherich… human 18
|
||||
#> 1 2026-10-02 04:06:50 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2026-10-02 04:06:50 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2026-10-02 04:06:50 1 DISK tobra Escherich… human 16
|
||||
#> 4 2026-10-02 04:06:51 1 DISK genta Escherich… human 18
|
||||
#> # ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,
|
||||
#> # outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,
|
||||
#> # breakpoint_S_R <chr>, site <chr>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -25,8 +25,8 @@ clinical_breakpoints
|
||||
|
||||
## Format
|
||||
|
||||
A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 44
|
||||
089 observations and 15 variables:
|
||||
A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 60
|
||||
173 observations and 15 variables:
|
||||
|
||||
- `guideline`
|
||||
Name of the guideline
|
||||
@@ -51,8 +51,10 @@ A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 44
|
||||
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md)
|
||||
|
||||
- `rank_index`
|
||||
Taxonomic rank index of `mo` from 1 (subspecies/infraspecies) to 5
|
||||
(unknown microorganism)
|
||||
Taxonomic rank index of `mo` from 1 (subspecies/infraspecies) to 7
|
||||
(non-species related breakpoints), used to choose the most specific
|
||||
breakpoint; blocking rows (see *Details*) have the rank index of their
|
||||
organism + 0.1
|
||||
|
||||
- `ab`
|
||||
Antimicrobial code as used by this package, EARS-Net and WHONET, see
|
||||
@@ -65,7 +67,8 @@ A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 44
|
||||
Dose of the used disk diffusion method
|
||||
|
||||
- `breakpoint_S`
|
||||
Lowest MIC value or highest number of millimetres that leads to "S"
|
||||
Lowest MIC value or highest number of millimetres that leads to "S",
|
||||
is `NA` for blocking rows (see *Details*)
|
||||
|
||||
- `breakpoint_R`
|
||||
Highest MIC value or lowest number of millimetres that leads to "R",
|
||||
@@ -82,6 +85,9 @@ A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 44
|
||||
"S" and "R" should be interpreted as "SDD", instead of "I". This
|
||||
currently applies to 72 breakpoints.
|
||||
|
||||
- `note`
|
||||
Notes from the guideline that apply to the breakpoint, if available
|
||||
|
||||
## Details
|
||||
|
||||
### Different Types of Breakpoints
|
||||
@@ -98,6 +104,21 @@ Use
|
||||
to interpret raw data using a specific breakpoint type, e.g.
|
||||
`as.sir(..., breakpoint_type = "ECOFF")` to use ECOFFs.
|
||||
|
||||
### Blocking Rows
|
||||
|
||||
Where EUCAST lists an organism but gives no breakpoint for it (e.g.
|
||||
"IE", "-", "Note", breakpoints in brackets, or an organism excluded with
|
||||
"except"), [`as.sir()`](https://amr-for-r.org/reference/as.sir.md) must
|
||||
not fall back to the breakpoint of a broader taxon, such as the
|
||||
breakpoint for *Vibrio* spp. where EUCAST gives "IE" for *V. fluvialis*.
|
||||
Such cases are included as "blocking rows": rows in which `breakpoint_S`
|
||||
and `breakpoint_R` are both `NA` and the `note` starts with
|
||||
`"[No breakpoint]"` followed by the reason.
|
||||
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) returns `NA` for
|
||||
these. This currently applies to 14 523 rows. Remove them with
|
||||
`subset(clinical_breakpoints, !is.na(breakpoint_S))` if only actual
|
||||
breakpoints are needed.
|
||||
|
||||
### Imported From WHONET
|
||||
|
||||
Some breakpoints in this package were validated through and imported
|
||||
@@ -116,8 +137,11 @@ From WHONET, imported were:
|
||||
|
||||
- Human EUCAST breakpoints between 2011 and 2018
|
||||
|
||||
Human EUCAST breakpoints from 2019 onwards, were retrieved directly from
|
||||
<https://www.eucast.org> using [this
|
||||
- Human EUCAST antifungal breakpoints between 2019 and 2025
|
||||
|
||||
Human EUCAST breakpoints from 2019 onwards (antifungal breakpoints from
|
||||
2026 onwards) were retrieved directly from the EUCAST Clinical
|
||||
Breakpoint Tables published on <https://www.eucast.org>, using [this
|
||||
script](https://github.com/msberends/AMR/blob/main/data-raw/_reproduction_scripts/reproduction_of_clinical_breakpoints_eucast.R).
|
||||
|
||||
Our WHONET import script can be [found
|
||||
@@ -166,20 +190,20 @@ repository](https://github.com/msberends/AMR/tree/main/data-raw/datasets).
|
||||
|
||||
``` r
|
||||
clinical_breakpoints
|
||||
#> # A tibble: 44,089 × 15
|
||||
#> guideline type host method site mo rank_index ab ref_tbl
|
||||
#> <chr> <chr> <chr> <chr> <chr> <mo> <dbl> <ab> <chr>
|
||||
#> 1 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 MEM A.xylos…
|
||||
#> 2 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 MEM A.xylos…
|
||||
#> 3 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 SXT A.xylos…
|
||||
#> 4 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 SXT A.xylos…
|
||||
#> 5 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 TZP A.xylos…
|
||||
#> 6 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 TZP A.xylos…
|
||||
#> 7 EUCAST 2026 human human DISK infect… B_ACNTB 3 AMK Acineto…
|
||||
#> 8 EUCAST 2026 human human MIC infect… B_ACNTB 3 AMK Acineto…
|
||||
#> 9 EUCAST 2026 human human DISK NA B_ACNTB 3 CIP Acineto…
|
||||
#> 10 EUCAST 2026 human human DISK Topical B_ACNTB 3 CIP Topical…
|
||||
#> # ℹ 44,079 more rows
|
||||
#> # A tibble: 60,173 × 15
|
||||
#> guideline type host method site mo rank_index ab ref_tbl
|
||||
#> <chr> <chr> <chr> <chr> <chr> <mo> <dbl> <ab> <chr>
|
||||
#> 1 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2.1 FDC A.xylosox…
|
||||
#> 2 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2.1 FDC A.xylosox…
|
||||
#> 3 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 MEM A.xylosox…
|
||||
#> 4 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 MEM A.xylosox…
|
||||
#> 5 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 SXT A.xylosox…
|
||||
#> 6 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 SXT A.xylosox…
|
||||
#> 7 EUCAST 2026 human human DISK NA B_ACHRMB_XYLS 2 TZP A.xylosox…
|
||||
#> 8 EUCAST 2026 human human MIC NA B_ACHRMB_XYLS 2 TZP A.xylosox…
|
||||
#> 9 EUCAST 2026 human human DISK NA B_ACNTB 3.1 AMC Acinetoba…
|
||||
#> 10 EUCAST 2026 human human MIC NA B_ACNTB 3.1 AMC Acinetoba…
|
||||
#> # ℹ 60,163 more rows
|
||||
#> # ℹ 6 more variables: disk_dose <chr>, breakpoint_S <dbl>, breakpoint_R <dbl>,
|
||||
#> # uti <lgl>, is_SDD <lgl>, note <chr>
|
||||
```
|
||||
@@ -125,7 +125,7 @@
|
||||
<dt>stdres</dt>
|
||||
<dd><p>standardized residuals,
|
||||
<code>(observed - expected) / sqrt(V)</code>, where <code>V</code> is the
|
||||
residual cell variance (Agresti, 2007, section 2.4.5
|
||||
residual cell variance (<a href="#reference+chisq.test.Rd+R+3AAgresti+3A2007" class="citation">Agresti 2007</a>, section 2.4.5)
|
||||
for the case where <code>x</code> is a matrix, <code>n * p * (1 - p)</code> otherwise).</p></dd>
|
||||
|
||||
</dl></div>
|
||||
|
||||
+3
-2
@@ -93,8 +93,9 @@ A list with class `"htest"` containing the following components:
|
||||
- stdres:
|
||||
|
||||
standardized residuals, `(observed - expected) / sqrt(V)`, where `V`
|
||||
is the residual cell variance (Agresti, 2007, section 2.4.5 for the
|
||||
case where `x` is a matrix, `n * p * (1 - p)` otherwise).
|
||||
is the residual cell variance ([Agresti
|
||||
2007](#reference+chisq.test.Rd+R+3AAgresti+3A2007), section 2.4.5) for
|
||||
the case where `x` is a matrix, `n * p * (1 - p)` otherwise).
|
||||
|
||||
## Details
|
||||
|
||||
|
||||
@@ -113,8 +113,9 @@
|
||||
|
||||
|
||||
<dt id="arg-pc-biplot">pc.biplot<a class="anchor" aria-label="anchor" href="#arg-pc-biplot"></a></dt>
|
||||
<dd><p>If true, use what Gabriel (1971) refers to as a "principal component
|
||||
biplot", with <code>lambda = 1</code> and observations scaled up by sqrt(n) and
|
||||
<dd><p>If true, use what <cite></cite><a href="#reference+biplot.princomp.Rd+R+3AGabriel+3A1971" class="citation">Gabriel (1971)</a> refers to as a
|
||||
“principal component biplot”,
|
||||
with <code>lambda = 1</code> and observations scaled up by sqrt(n) and
|
||||
variables scaled down by sqrt(n). Then inner products between
|
||||
variables approximate covariances and distances between observations
|
||||
approximate Mahalanobis distance.</p></dd>
|
||||
|
||||
@@ -85,11 +85,12 @@ the changes made based on the source code were:
|
||||
|
||||
- pc.biplot:
|
||||
|
||||
If true, use what Gabriel (1971) refers to as a "principal component
|
||||
biplot", with `lambda = 1` and observations scaled up by sqrt(n) and
|
||||
variables scaled down by sqrt(n). Then inner products between
|
||||
variables approximate covariances and distances between observations
|
||||
approximate Mahalanobis distance.
|
||||
If true, use what [Gabriel
|
||||
(1971)](#reference+biplot.princomp.Rd+R+3AGabriel+3A1971) refers to as
|
||||
a “principal component biplot”, with `lambda = 1` and observations
|
||||
scaled up by sqrt(n) and variables scaled down by sqrt(n). Then inner
|
||||
products between variables approximate covariances and distances
|
||||
between observations approximate Mahalanobis distance.
|
||||
|
||||
- labels:
|
||||
|
||||
|
||||
Reference in new issue
Block a user