mirror of
https://github.com/msberends/AMR.git
synced 2026-11-28 21:26:15 +01:00
Built site for AMR@3.1.0.9017: cfb55a4
This commit is contained in:
1 parent
20f80d718e
commit
e78292e3d5
101 files changed
+447
-257
No files matched your search
@@ -30,7 +30,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="https://amr-for-r.org/index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -73,7 +73,7 @@
|
||||
<span><span class="fu">pkgdown</span><span class="fu">::</span><span class="fu"><a href="https://pkgdown.r-lib.org/reference/build_site.html" class="external-link">build_site</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># Code coverage report</span></span>
|
||||
<span><span class="fu">covr</span><span class="fu">::</span><span class="fu"><a href="http://covr.r-lib.org/reference/package_coverage.html" class="external-link">package_coverage</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<span><span class="fu">covr</span><span class="fu">::</span><span class="fu"><a href="https://covr.r-lib.org/reference/package_coverage.html" class="external-link">package_coverage</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<p>From the shell:</p>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" tabindex="-1"></a><span class="co"># CRAN check from parent directory</span></span>
|
||||
<span id="cb2-2"><a href="#cb2-2" tabindex="-1"></a><span class="ex">R</span> CMD check AMR</span></code></pre></div>
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+89
-78
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -90,7 +90,7 @@
|
||||
website update since they are based on randomly created values and the
|
||||
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
||||
Markdown</a>. However, the methodology remains unchanged. This page was
|
||||
generated on 04 November 2026.</p>
|
||||
generated on 09 November 2026.</p>
|
||||
<div class="section level2">
|
||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||
</h2>
|
||||
@@ -146,21 +146,21 @@ make the structure of your data generally look like this:</p>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr class="odd">
|
||||
<td align="center">2026-11-04</td>
|
||||
<td align="center">2026-11-09</td>
|
||||
<td align="center">abcd</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">S</td>
|
||||
<td align="center">S</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="center">2026-11-04</td>
|
||||
<td align="center">2026-11-09</td>
|
||||
<td align="center">abcd</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">S</td>
|
||||
<td align="center">R</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="center">2026-11-04</td>
|
||||
<td align="center">2026-11-09</td>
|
||||
<td align="center">efgh</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">R</td>
|
||||
@@ -886,7 +886,7 @@ antibiotic:</p>
|
||||
<td align="left">100% (98-100%,N=171)</td>
|
||||
<td align="left">98% (96-99%,N=460)</td>
|
||||
<td align="left">100% (99-100%,N=422)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (99-100%,N=418)</td>
|
||||
<td align="left">97% (96-99%,N=462)</td>
|
||||
</tr>
|
||||
@@ -896,70 +896,70 @@ antibiotic:</p>
|
||||
<td align="left">0% (0-9%,N=39)</td>
|
||||
<td align="left">100% (91-100%,N=38)</td>
|
||||
<td align="left">0% (0-9%,N=39)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-9%,N=39)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>K. pneumoniae</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">90% (79-96%,N=58)</td>
|
||||
<td align="left">100% (93-100%,N=51)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (93-100%,N=53)</td>
|
||||
<td align="left">90% (79-96%,N=58)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left"><em>P. aeruginosa</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-12%,N=30)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>P. mirabilis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">94% (80-99%,N=34)</td>
|
||||
<td align="left">94% (79-99%,N=32)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">94% (80-99%,N=34)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left"><em>S. aureus</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">99% (97-100%,N=233)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">98% (92-100%,N=86)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>S. epidermidis</em></td>
|
||||
<td align="left">0% (0-8%,N=44)</td>
|
||||
<td align="left">79% (71-85%,N=163)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-8%,N=44)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">51% (40-61%,N=89)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left"><em>S. hominis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">92% (84-97%,N=80)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">85% (74-93%,N=62)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>S. pneumoniae</em></td>
|
||||
<td align="left">0% (0-3%,N=117)</td>
|
||||
<td align="left">0% (0-3%,N=117)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-3%,N=117)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-3%,N=117)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -1047,7 +1047,7 @@ and does not account for pathogen incidence in the syndrome:</p>
|
||||
<td align="left">CoNS</td>
|
||||
<td align="left">30% (16-49%,N=33)</td>
|
||||
<td align="left">97% (95-99%,N=274)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>E. coli</em></td>
|
||||
@@ -1063,31 +1063,31 @@ and does not account for pathogen incidence in the syndrome:</p>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>P. aeruginosa</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left"><em>P. mirabilis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (90-100%,N=34)</td>
|
||||
<td align="left">100% (90-100%,N=34)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>S. aureus</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (98-100%,N=231)</td>
|
||||
<td align="left">100% (96-100%,N=91)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left"><em>S. epidermidis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (97-100%,N=128)</td>
|
||||
<td align="left">100% (92-100%,N=46)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left"><em>S. hominis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (95-100%,N=74)</td>
|
||||
<td align="left">100% (93-100%,N=53)</td>
|
||||
</tr>
|
||||
@@ -1142,32 +1142,32 @@ preferred:</p>
|
||||
<tr class="odd">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left">CoNS</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">89% (84-93%,N=205)</td>
|
||||
<td align="left">57% (39-74%,N=35)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">57% (39-74%,N=35)</td>
|
||||
<td align="left">26% (12-45%,N=31)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">ICU</td>
|
||||
<td align="left">CoNS</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">79% (68-88%,N=73)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left">Outpatient</td>
|
||||
<td align="left">CoNS</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">84% (66-95%,N=31)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">Clinical</td>
|
||||
@@ -1175,7 +1175,7 @@ preferred:</p>
|
||||
<td align="left">100% (97-100%,N=104)</td>
|
||||
<td align="left">98% (96-99%,N=297)</td>
|
||||
<td align="left">100% (99-100%,N=266)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (99-100%,N=276)</td>
|
||||
<td align="left">98% (96-99%,N=299)</td>
|
||||
</tr>
|
||||
@@ -1185,78 +1185,78 @@ preferred:</p>
|
||||
<td align="left">100% (93-100%,N=52)</td>
|
||||
<td align="left">99% (95-100%,N=137)</td>
|
||||
<td align="left">100% (97-100%,N=133)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (97-100%,N=118)</td>
|
||||
<td align="left">96% (92-99%,N=137)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left"><em>K. pneumoniae</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">92% (81-98%,N=51)</td>
|
||||
<td align="left">100% (92-100%,N=44)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (92-100%,N=46)</td>
|
||||
<td align="left">92% (81-98%,N=51)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left"><em>P. mirabilis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (88-100%,N=30)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left"><em>S. aureus</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">99% (95-100%,N=150)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">97% (89-100%,N=63)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left">ICU</td>
|
||||
<td align="left"><em>S. aureus</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">100% (95-100%,N=66)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left"><em>S. epidermidis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">82% (72-90%,N=79)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">55% (39-70%,N=44)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left">ICU</td>
|
||||
<td align="left"><em>S. epidermidis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">72% (60-82%,N=75)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">41% (26-58%,N=41)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left">Clinical</td>
|
||||
<td align="left"><em>S. hominis</em></td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">96% (85-99%,N=45)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
<td align="left">94% (79-99%,N=31)</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
@@ -1264,9 +1264,9 @@ preferred:</p>
|
||||
<td align="left"><em>S. pneumoniae</em></td>
|
||||
<td align="left">0% (0-5%,N=78)</td>
|
||||
<td align="left">0% (0-5%,N=78)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-5%,N=78)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-5%,N=78)</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
@@ -1274,9 +1274,9 @@ preferred:</p>
|
||||
<td align="left"><em>S. pneumoniae</em></td>
|
||||
<td align="left">0% (0-12%,N=30)</td>
|
||||
<td align="left">0% (0-12%,N=30)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-12%,N=30)</td>
|
||||
<td align="left">NA</td>
|
||||
<td align="left"></td>
|
||||
<td align="left">0% (0-12%,N=30)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -1404,6 +1404,17 @@ values:</p>
|
||||
<span><span class="co"># by providing `mo` and `ab`, colours will indicate the SIR interpretation:</span></span>
|
||||
<span><span class="fu"><a href="https://ggplot2.tidyverse.org/reference/autoplot.html" class="external-link">autoplot</a></span><span class="op">(</span><span class="va">mic_values</span>, mo <span class="op">=</span> <span class="st">"K. pneumoniae"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span>, guideline <span class="op">=</span> <span class="st">"EUCAST"</span><span class="op">)</span></span></code></pre></div>
|
||||
<p><img src="AMR_files/figure-html/autoplot-2.png" class="r-plt" alt="" width="720"></p>
|
||||
<p>Taxonomic names are printed in italics by convention. Use
|
||||
<code><a href="../reference/plot.html">labels_taxonomy()</a></code> for this in axis and legend labels, and
|
||||
<code>italicise_taxonomy(..., type = "plotmath")</code> for titles:</p>
|
||||
<div class="sourceCode" id="cb32"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">our_data_1st</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span>
|
||||
<span> <span class="fu"><a href="../reference/count.html">count</a></span><span class="op">(</span>species <span class="op">=</span> <span class="fu"><a href="../reference/mo_property.html">mo_name</a></span><span class="op">(</span><span class="va">bacteria</span><span class="op">)</span><span class="op">)</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span>
|
||||
<span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/ggplot.html" class="external-link">ggplot</a></span><span class="op">(</span><span class="fu"><a href="https://ggplot2.tidyverse.org/reference/aes.html" class="external-link">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">species</span>, y <span class="op">=</span> <span class="va">n</span><span class="op">)</span><span class="op">)</span> <span class="op">+</span></span>
|
||||
<span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/geom_bar.html" class="external-link">geom_col</a></span><span class="op">(</span><span class="op">)</span> <span class="op">+</span></span>
|
||||
<span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/scale_discrete.html" class="external-link">scale_x_discrete</a></span><span class="op">(</span>labels <span class="op">=</span> <span class="va">labels_taxonomy</span><span class="op">)</span> <span class="op">+</span></span>
|
||||
<span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/labs.html" class="external-link">labs</a></span><span class="op">(</span>title <span class="op">=</span> <span class="fu"><a href="../reference/italicise_taxonomy.html">italicise_taxonomy</a></span><span class="op">(</span><span class="st">"First isolates of E. coli and other species"</span>, type <span class="op">=</span> <span class="st">"plotmath"</span><span class="op">)</span><span class="op">)</span></span></code></pre></div>
|
||||
<p><img src="AMR_files/figure-html/labels_taxonomy-1.png" class="r-plt" alt="" width="720"></p>
|
||||
<hr>
|
||||
<p><em>Author: Dr. Matthijs Berends, 23rd June 2026</em></p>
|
||||
</div>
|
||||
|
||||
+50
-33
@@ -3,7 +3,7 @@
|
||||
**Note:** values on this page will change with every website update
|
||||
since they are based on randomly created values and the page was written
|
||||
in [R Markdown](https://rmarkdown.rstudio.com/). However, the
|
||||
methodology remains unchanged. This page was generated on 04 November
|
||||
methodology remains unchanged. This page was generated on 09 November
|
||||
2026.
|
||||
|
||||
## Introduction
|
||||
@@ -52,9 +52,9 @@ structure of your data generally look like this:
|
||||
|
||||
| date | patient_id | mo | AMX | CIP |
|
||||
|:----------:|:----------:|:----------------:|:---:|:---:|
|
||||
| 2026-11-04 | abcd | Escherichia coli | S | S |
|
||||
| 2026-11-04 | abcd | Escherichia coli | S | R |
|
||||
| 2026-11-04 | efgh | Escherichia coli | R | S |
|
||||
| 2026-11-09 | abcd | Escherichia coli | S | S |
|
||||
| 2026-11-09 | abcd | Escherichia coli | S | R |
|
||||
| 2026-11-09 | efgh | Escherichia coli | R | S |
|
||||
|
||||
### Needed R packages
|
||||
|
||||
@@ -747,15 +747,15 @@ antibiogram(example_isolates,
|
||||
| Pathogen | Amikacin | Gentamicin | Imipenem | Kanamycin | Meropenem | Tobramycin |
|
||||
|:---|:---|:---|:---|:---|:---|:---|
|
||||
| CoNS | 0% (0-8%,N=43) | 86% (82-90%,N=309) | 52% (37-67%,N=48) | 0% (0-8%,N=43) | 52% (37-67%,N=48) | 22% (12-35%,N=55) |
|
||||
| *E. coli* | 100% (98-100%,N=171) | 98% (96-99%,N=460) | 100% (99-100%,N=422) | NA | 100% (99-100%,N=418) | 97% (96-99%,N=462) |
|
||||
| *E. faecalis* | 0% (0-9%,N=39) | 0% (0-9%,N=39) | 100% (91-100%,N=38) | 0% (0-9%,N=39) | NA | 0% (0-9%,N=39) |
|
||||
| *K. pneumoniae* | NA | 90% (79-96%,N=58) | 100% (93-100%,N=51) | NA | 100% (93-100%,N=53) | 90% (79-96%,N=58) |
|
||||
| *P. aeruginosa* | NA | 100% (88-100%,N=30) | NA | 0% (0-12%,N=30) | NA | 100% (88-100%,N=30) |
|
||||
| *P. mirabilis* | NA | 94% (80-99%,N=34) | 94% (79-99%,N=32) | NA | NA | 94% (80-99%,N=34) |
|
||||
| *S. aureus* | NA | 99% (97-100%,N=233) | NA | NA | NA | 98% (92-100%,N=86) |
|
||||
| *S. epidermidis* | 0% (0-8%,N=44) | 79% (71-85%,N=163) | NA | 0% (0-8%,N=44) | NA | 51% (40-61%,N=89) |
|
||||
| *S. hominis* | NA | 92% (84-97%,N=80) | NA | NA | NA | 85% (74-93%,N=62) |
|
||||
| *S. pneumoniae* | 0% (0-3%,N=117) | 0% (0-3%,N=117) | NA | 0% (0-3%,N=117) | NA | 0% (0-3%,N=117) |
|
||||
| *E. coli* | 100% (98-100%,N=171) | 98% (96-99%,N=460) | 100% (99-100%,N=422) | | 100% (99-100%,N=418) | 97% (96-99%,N=462) |
|
||||
| *E. faecalis* | 0% (0-9%,N=39) | 0% (0-9%,N=39) | 100% (91-100%,N=38) | 0% (0-9%,N=39) | | 0% (0-9%,N=39) |
|
||||
| *K. pneumoniae* | | 90% (79-96%,N=58) | 100% (93-100%,N=51) | | 100% (93-100%,N=53) | 90% (79-96%,N=58) |
|
||||
| *P. aeruginosa* | | 100% (88-100%,N=30) | | 0% (0-12%,N=30) | | 100% (88-100%,N=30) |
|
||||
| *P. mirabilis* | | 94% (80-99%,N=34) | 94% (79-99%,N=32) | | | 94% (80-99%,N=34) |
|
||||
| *S. aureus* | | 99% (97-100%,N=233) | | | | 98% (92-100%,N=86) |
|
||||
| *S. epidermidis* | 0% (0-8%,N=44) | 79% (71-85%,N=163) | | 0% (0-8%,N=44) | | 51% (40-61%,N=89) |
|
||||
| *S. hominis* | | 92% (84-97%,N=80) | | | | 85% (74-93%,N=62) |
|
||||
| *S. pneumoniae* | 0% (0-3%,N=117) | 0% (0-3%,N=117) | | 0% (0-3%,N=117) | | 0% (0-3%,N=117) |
|
||||
|
||||
Notice that the
|
||||
[`antibiogram()`](https://amr-for-r.org/reference/antibiogram.md)
|
||||
@@ -807,14 +807,14 @@ combined_ab
|
||||
|
||||
| Pathogen | TZP | TZP + GEN | TZP + TOB |
|
||||
|:---|:---|:---|:---|
|
||||
| CoNS | 30% (16-49%,N=33) | 97% (95-99%,N=274) | NA |
|
||||
| CoNS | 30% (16-49%,N=33) | 97% (95-99%,N=274) | |
|
||||
| *E. coli* | 94% (92-96%,N=416) | 100% (98-100%,N=459) | 99% (97-100%,N=461) |
|
||||
| *K. pneumoniae* | 89% (77-96%,N=53) | 93% (83-98%,N=58) | 93% (83-98%,N=58) |
|
||||
| *P. aeruginosa* | NA | 100% (88-100%,N=30) | 100% (88-100%,N=30) |
|
||||
| *P. mirabilis* | NA | 100% (90-100%,N=34) | 100% (90-100%,N=34) |
|
||||
| *S. aureus* | NA | 100% (98-100%,N=231) | 100% (96-100%,N=91) |
|
||||
| *S. epidermidis* | NA | 100% (97-100%,N=128) | 100% (92-100%,N=46) |
|
||||
| *S. hominis* | NA | 100% (95-100%,N=74) | 100% (93-100%,N=53) |
|
||||
| *P. aeruginosa* | | 100% (88-100%,N=30) | 100% (88-100%,N=30) |
|
||||
| *P. mirabilis* | | 100% (90-100%,N=34) | 100% (90-100%,N=34) |
|
||||
| *S. aureus* | | 100% (98-100%,N=231) | 100% (96-100%,N=91) |
|
||||
| *S. epidermidis* | | 100% (97-100%,N=128) | 100% (92-100%,N=46) |
|
||||
| *S. hominis* | | 100% (95-100%,N=74) | 100% (93-100%,N=53) |
|
||||
| *S. pneumoniae* | 100% (97-100%,N=112) | 100% (97-100%,N=112) | 100% (97-100%,N=112) |
|
||||
|
||||
#### Syndromic Antibiogram
|
||||
@@ -839,20 +839,20 @@ antibiogram(example_isolates,
|
||||
|
||||
| Syndromic Group | Pathogen | Amikacin | Gentamicin | Imipenem | Kanamycin | Meropenem | Tobramycin |
|
||||
|:---|:---|:---|:---|:---|:---|:---|:---|
|
||||
| Clinical | CoNS | NA | 89% (84-93%,N=205) | 57% (39-74%,N=35) | NA | 57% (39-74%,N=35) | 26% (12-45%,N=31) |
|
||||
| ICU | CoNS | NA | 79% (68-88%,N=73) | NA | NA | NA | NA |
|
||||
| Outpatient | CoNS | NA | 84% (66-95%,N=31) | NA | NA | NA | NA |
|
||||
| Clinical | *E. coli* | 100% (97-100%,N=104) | 98% (96-99%,N=297) | 100% (99-100%,N=266) | NA | 100% (99-100%,N=276) | 98% (96-99%,N=299) |
|
||||
| ICU | *E. coli* | 100% (93-100%,N=52) | 99% (95-100%,N=137) | 100% (97-100%,N=133) | NA | 100% (97-100%,N=118) | 96% (92-99%,N=137) |
|
||||
| Clinical | *K. pneumoniae* | NA | 92% (81-98%,N=51) | 100% (92-100%,N=44) | NA | 100% (92-100%,N=46) | 92% (81-98%,N=51) |
|
||||
| Clinical | *P. mirabilis* | NA | 100% (88-100%,N=30) | NA | NA | NA | 100% (88-100%,N=30) |
|
||||
| Clinical | *S. aureus* | NA | 99% (95-100%,N=150) | NA | NA | NA | 97% (89-100%,N=63) |
|
||||
| ICU | *S. aureus* | NA | 100% (95-100%,N=66) | NA | NA | NA | NA |
|
||||
| Clinical | *S. epidermidis* | NA | 82% (72-90%,N=79) | NA | NA | NA | 55% (39-70%,N=44) |
|
||||
| ICU | *S. epidermidis* | NA | 72% (60-82%,N=75) | NA | NA | NA | 41% (26-58%,N=41) |
|
||||
| Clinical | *S. hominis* | NA | 96% (85-99%,N=45) | NA | NA | NA | 94% (79-99%,N=31) |
|
||||
| Clinical | *S. pneumoniae* | 0% (0-5%,N=78) | 0% (0-5%,N=78) | NA | 0% (0-5%,N=78) | NA | 0% (0-5%,N=78) |
|
||||
| ICU | *S. pneumoniae* | 0% (0-12%,N=30) | 0% (0-12%,N=30) | NA | 0% (0-12%,N=30) | NA | 0% (0-12%,N=30) |
|
||||
| Clinical | CoNS | | 89% (84-93%,N=205) | 57% (39-74%,N=35) | | 57% (39-74%,N=35) | 26% (12-45%,N=31) |
|
||||
| ICU | CoNS | | 79% (68-88%,N=73) | | | | |
|
||||
| Outpatient | CoNS | | 84% (66-95%,N=31) | | | | |
|
||||
| Clinical | *E. coli* | 100% (97-100%,N=104) | 98% (96-99%,N=297) | 100% (99-100%,N=266) | | 100% (99-100%,N=276) | 98% (96-99%,N=299) |
|
||||
| ICU | *E. coli* | 100% (93-100%,N=52) | 99% (95-100%,N=137) | 100% (97-100%,N=133) | | 100% (97-100%,N=118) | 96% (92-99%,N=137) |
|
||||
| Clinical | *K. pneumoniae* | | 92% (81-98%,N=51) | 100% (92-100%,N=44) | | 100% (92-100%,N=46) | 92% (81-98%,N=51) |
|
||||
| Clinical | *P. mirabilis* | | 100% (88-100%,N=30) | | | | 100% (88-100%,N=30) |
|
||||
| Clinical | *S. aureus* | | 99% (95-100%,N=150) | | | | 97% (89-100%,N=63) |
|
||||
| ICU | *S. aureus* | | 100% (95-100%,N=66) | | | | |
|
||||
| Clinical | *S. epidermidis* | | 82% (72-90%,N=79) | | | | 55% (39-70%,N=44) |
|
||||
| ICU | *S. epidermidis* | | 72% (60-82%,N=75) | | | | 41% (26-58%,N=41) |
|
||||
| Clinical | *S. hominis* | | 96% (85-99%,N=45) | | | | 94% (79-99%,N=31) |
|
||||
| Clinical | *S. pneumoniae* | 0% (0-5%,N=78) | 0% (0-5%,N=78) | | 0% (0-5%,N=78) | | 0% (0-5%,N=78) |
|
||||
| ICU | *S. pneumoniae* | 0% (0-12%,N=30) | 0% (0-12%,N=30) | | 0% (0-12%,N=30) | | 0% (0-12%,N=30) |
|
||||
|
||||
#### Plotting antibiograms
|
||||
|
||||
@@ -1021,6 +1021,23 @@ autoplot(mic_values, mo = "K. pneumoniae", ab = "cipro", guideline = "EUCAST")
|
||||
|
||||

|
||||
|
||||
Taxonomic names are printed in italics by convention. Use
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md) for this
|
||||
in axis and legend labels, and
|
||||
`italicise_taxonomy(..., type = "plotmath")` for titles:
|
||||
|
||||
``` r
|
||||
|
||||
our_data_1st %>%
|
||||
count(species = mo_name(bacteria)) %>%
|
||||
ggplot(aes(x = species, y = n)) +
|
||||
geom_col() +
|
||||
scale_x_discrete(labels = labels_taxonomy) +
|
||||
labs(title = italicise_taxonomy("First isolates of E. coli and other species", type = "plotmath"))
|
||||
```
|
||||
|
||||

|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
*Author: Dr. Matthijs Berends, 23rd June 2026*
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -193,7 +193,7 @@ function:</p>
|
||||
<span><span class="co">#> [1] "Caryophanales" "Enterobacterales" "Lactobacillales" "Pseudomonadales"</span></span>
|
||||
<span><span class="co">#> Importance of components:</span></span>
|
||||
<span><span class="co">#> PC1 PC2 PC3 PC4 PC5 PC6 PC7</span></span>
|
||||
<span><span class="co">#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 4.285e-17</span></span>
|
||||
<span><span class="co">#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 2.007e-16</span></span>
|
||||
<span><span class="co">#> Proportion of Variance 0.5799 0.3531 0.0471 0.01435 0.00541 0.00012 0.000e+00</span></span>
|
||||
<span><span class="co">#> Cumulative Proportion 0.5799 0.9330 0.9801 0.99446 0.99988 1.00000 1.000e+00</span></span></code></pre></div>
|
||||
<pre><code><span><span class="co">#> Groups (n=4, named as 'order'):</span></span>
|
||||
|
||||
+1
-1
@@ -117,7 +117,7 @@ summary(pca_result)
|
||||
#> [1] "Caryophanales" "Enterobacterales" "Lactobacillales" "Pseudomonadales"
|
||||
#> Importance of components:
|
||||
#> PC1 PC2 PC3 PC4 PC5 PC6 PC7
|
||||
#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 4.285e-17
|
||||
#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 2.007e-16
|
||||
#> Proportion of Variance 0.5799 0.3531 0.0471 0.01435 0.00541 0.00012 0.000e+00
|
||||
#> Cumulative Proportion 0.5799 0.9330 0.9801 0.99446 0.99988 1.00000 1.000e+00
|
||||
```
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -79,7 +79,7 @@
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.svg" class="logo" alt=""><h1>Download data sets for download / own use</h1>
|
||||
|
||||
<h4 data-toc-skip class="date">04 November 2026</h4>
|
||||
<h4 data-toc-skip class="date">09 November 2026</h4>
|
||||
|
||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/main/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
||||
<div class="d-none name"><code>datasets.Rmd</code></div>
|
||||
@@ -440,7 +440,7 @@ column names:<br><em>ab</em>, <em>cid</em>, <em>name</em>, <em>group</em>, <em>a
|
||||
<em>iv_ddd</em>, <em>iv_units</em>, and <em>loinc</em>.</p>
|
||||
<p>This data set is in R available as <code>antimicrobials</code>, after
|
||||
you load the <code>AMR</code> package.</p>
|
||||
<p>It was last updated on 15 October 2026 08:31:07 UTC. Find more info
|
||||
<p>It was last updated on 9 November 2026 19:45:07 UTC. Find more info
|
||||
about the contents, (scientific) source, and structure of this <a href="https://amr-for-r.org/reference/antimicrobials.html">data set
|
||||
here</a>.</p>
|
||||
<p><strong>Direct download links:</strong></p>
|
||||
|
||||
@@ -100,7 +100,7 @@ names:
|
||||
This data set is in R available as `antimicrobials`, after you load the
|
||||
`AMR` package.
|
||||
|
||||
It was last updated on 15 October 2026 08:31:07 UTC. Find more info
|
||||
It was last updated on 9 November 2026 19:45:07 UTC. Find more info
|
||||
about the contents, (scientific) source, and structure of this [data set
|
||||
here](https://amr-for-r.org/reference/antimicrobials.html).
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -852,7 +852,8 @@ calculate resistance, and determine multidrug-resistant organisms.
|
||||
## Visualising data
|
||||
|
||||
Plot MIC values, disk zones, and SIR results in base R or `ggplot2`,
|
||||
with scales and colours tailored to AMR data.
|
||||
with scales and colours tailored to AMR data, and taxonomic names in
|
||||
italics.
|
||||
|
||||
[Plotting Helpers for AMR Data Analysis](https://amr-for-r.org/reference/plot.md)
|
||||
: [`scale_x_mic()`](https://amr-for-r.org/reference/plot.md)
|
||||
@@ -872,6 +873,7 @@ with scales and colours tailored to AMR data.
|
||||
[`scale_y_percent()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`scale_sir_colours()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`theme_sir()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md)
|
||||
|
||||
[AMR Plots with `ggplot2`](https://amr-for-r.org/reference/ggplot_sir.md)
|
||||
: [`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md)
|
||||
|
||||
+25
-6
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -49,10 +49,10 @@
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 class="pkg-version" data-toc-text="3.1.0.9015" id="amr-3109015">AMR 3.1.0.9015<a class="anchor" aria-label="anchor" href="#amr-3109015"></a></h2>
|
||||
<h2 class="pkg-version" data-toc-text="3.1.0.9017" id="amr-3109017">AMR 3.1.0.9017<a class="anchor" aria-label="anchor" href="#amr-3109017"></a></h2>
|
||||
<p>This version fixes a critical bug in WISCA that biased all coverage estimates of <code><a href="../reference/antibiogram.html">wisca()</a></code> and <code>antibiogram(..., wisca = TRUE)</code> downwards since AMR 3.0.0. Users are strongly advised to re-run their WISCA analyses.</p>
|
||||
<div class="section level4">
|
||||
<h4 id="breaking-3-1-0-9015">Breaking<a class="anchor" aria-label="anchor" href="#breaking-3-1-0-9015"></a></h4>
|
||||
<h4 id="breaking-3-1-0-9017">Breaking<a class="anchor" aria-label="anchor" href="#breaking-3-1-0-9017"></a></h4>
|
||||
<ul><li>
|
||||
<code><a href="../reference/mo_property.html">mo_shortname()</a></code> now returns the serovar for <em>Salmonella</em> serovars, e.g., <code>"S. Typhi"</code> and <code>"S. Goldcoast"</code> instead of <code>"S. enterica"</code>. As this is the default for <code><a href="../reference/bug_drug_combinations.html">bug_drug_combinations()</a></code> and short names in <code><a href="../reference/antibiogram.html">antibiogram()</a></code>, serovars are no longer merged in their results. Use <code>FUN = function(x) paste(mo_genus(x), mo_species(x))</code> in <code><a href="../reference/bug_drug_combinations.html">bug_drug_combinations()</a></code> to group them by species (<a href="https://github.com/msberends/AMR/issues/341" class="external-link">#341</a>)</li>
|
||||
<li>
|
||||
@@ -61,8 +61,27 @@
|
||||
<code><a href="../reference/mdro.html">mdro()</a></code> now applies the rule for <em>Salmonella</em> Typhi in the EUCAST guidelines, i.e., resistance to carbapenems (and fluoroquinolones in <code>"EUCAST3.1"</code>). This rule never applied before, so these isolates were wrongly classified as negative (<a href="https://github.com/msberends/AMR/issues/341" class="external-link">#341</a>)</li>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="changed-3-1-0-9015">Changed<a class="anchor" aria-label="anchor" href="#changed-3-1-0-9015"></a></h4>
|
||||
<ul><li>WISCA (<code><a href="../reference/antibiogram.html">wisca()</a></code> and <code>antibiogram(..., wisca = TRUE)</code>)
|
||||
<h4 id="new-3-1-0-9017">New<a class="anchor" aria-label="anchor" href="#new-3-1-0-9017"></a></h4>
|
||||
<ul><li>
|
||||
<strong>Taxonomic names in plots</strong>
|
||||
<ul><li>New function <code><a href="../reference/plot.html">labels_taxonomy()</a></code> to print taxonomic names in axis and legend labels in italics, which can directly be used as labeller in <code>ggplot2</code> (e.g., <code>scale_x_discrete(labels = labels_taxonomy)</code>) and in base R plots</li>
|
||||
<li>
|
||||
<code><a href="../reference/italicise_taxonomy.html">italicise_taxonomy()</a></code> gained <code>type = "plotmath"</code>, which returns an expression vector for titles, axes and legends in plots</li>
|
||||
</ul></li>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="changed-3-1-0-9017">Changed<a class="anchor" aria-label="anchor" href="#changed-3-1-0-9017"></a></h4>
|
||||
<ul><li>
|
||||
<code><a href="../reference/italicise_taxonomy.html">italicise_taxonomy()</a></code>
|
||||
<ul><li>Species and subspecies names are now only italicised after a genus, an abbreviated genus, or another species or subspecies name, so that ordinary words such as “coli” or “major” stay upright. <em>Salmonella</em> serovars (such as Typhimurium) and groups are no longer italicised, and “subsp.”, “ssp.” and “var.” stay upright between italicised names</li>
|
||||
<li>Fixed punctuation being italicised along with taxonomic names, e.g., <code>"(S. aureus)"</code> now gives <code>"(*S. aureus*)"</code> instead of <code>"(S. *aureus)*"</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>NA</code> values now return <code>NA</code> instead of <code>"NA"</code>
|
||||
</li>
|
||||
<li>Taxonomic names are now looked up once per session, making the function considerably faster for long vectors</li>
|
||||
</ul></li>
|
||||
<li>WISCA (<code><a href="../reference/antibiogram.html">wisca()</a></code> and <code>antibiogram(..., wisca = TRUE)</code>)
|
||||
<ul><li>Fixed a critical bug that systematically underestimated the coverage of every WISCA since AMR 3.0.0. Pathogens absent from a syndromic group, and pathogens without any test result for a regimen, were still included in the model with only prior information: each added a prior weight of 1 to the pathogen incidence, and untested pathogens kept their full incidence weight while counting as about 50% susceptible. The bias was largest for stratified analyses (e.g., up to 14 percentage points for meropenem in random strata of <code>example_isolates</code>). Now, only pathogens that occur in a group and have at least one test result for the regimen are included. Please re-run all WISCA analyses (<a href="https://github.com/msberends/AMR/issues/337" class="external-link">#337</a>)</li>
|
||||
<li>
|
||||
<code><a href="../reference/antibiogram.html">retrieve_wisca_parameters()</a></code> now returns only the parameters actually used in the model, and <code>n_total</code> in the <code>long_numeric</code> attribute now counts only isolates of the pathogens included for that regimen</li>
|
||||
@@ -77,7 +96,7 @@
|
||||
</ul></li>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="other-3-1-0-9015">Other<a class="anchor" aria-label="anchor" href="#other-3-1-0-9015"></a></h4>
|
||||
<h4 id="other-3-1-0-9017">Other<a class="anchor" aria-label="anchor" href="#other-3-1-0-9017"></a></h4>
|
||||
<ul><li>The manual index on the website was rewritten to improve findability, with sections ordered by task and a filter field</li>
|
||||
<li>Fixed the link to the copyright section and added MycoBank as a taxonomy source in the <em>Welcome to AMR</em> vignette (<a href="https://github.com/msberends/AMR/issues/325" class="external-link">#325</a>)</li>
|
||||
</ul></div>
|
||||
|
||||
+26
-1
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## AMR 3.1.0.9015
|
||||
## AMR 3.1.0.9017
|
||||
|
||||
This version fixes a critical bug in WISCA that biased all coverage
|
||||
estimates of [`wisca()`](https://amr-for-r.org/reference/antibiogram.md)
|
||||
@@ -37,8 +37,33 @@ are strongly advised to re-run their WISCA analyses.
|
||||
never applied before, so these isolates were wrongly classified as
|
||||
negative ([\#341](https://github.com/msberends/AMR/issues/341))
|
||||
|
||||
#### New
|
||||
|
||||
- **Taxonomic names in plots**
|
||||
- New function
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md) to
|
||||
print taxonomic names in axis and legend labels in italics, which
|
||||
can directly be used as labeller in `ggplot2` (e.g.,
|
||||
`scale_x_discrete(labels = labels_taxonomy)`) and in base R plots
|
||||
- [`italicise_taxonomy()`](https://amr-for-r.org/reference/italicise_taxonomy.md)
|
||||
gained `type = "plotmath"`, which returns an expression vector for
|
||||
titles, axes and legends in plots
|
||||
|
||||
#### Changed
|
||||
|
||||
- [`italicise_taxonomy()`](https://amr-for-r.org/reference/italicise_taxonomy.md)
|
||||
- Species and subspecies names are now only italicised after a genus,
|
||||
an abbreviated genus, or another species or subspecies name, so that
|
||||
ordinary words such as “coli” or “major” stay upright. *Salmonella*
|
||||
serovars (such as Typhimurium) and groups are no longer italicised,
|
||||
and “subsp.”, “ssp.” and “var.” stay upright between italicised
|
||||
names
|
||||
- Fixed punctuation being italicised along with taxonomic names, e.g.,
|
||||
`"(S. aureus)"` now gives `"(*S. aureus*)"` instead of
|
||||
`"(S. *aureus)*"`
|
||||
- `NA` values now return `NA` instead of `"NA"`
|
||||
- Taxonomic names are now looked up once per session, making the
|
||||
function considerably faster for long vectors
|
||||
- WISCA ([`wisca()`](https://amr-for-r.org/reference/antibiogram.md) and
|
||||
`antibiogram(..., wisca = TRUE)`)
|
||||
- Fixed a critical bug that systematically underestimated the coverage
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ articles:
|
||||
PCA: PCA.html
|
||||
WHONET: WHONET.html
|
||||
WISCA: WISCA.html
|
||||
last_built: 2026-11-04T07:10Z
|
||||
last_built: 2026-11-09T19:51Z
|
||||
urls:
|
||||
reference: https://amr-for-r.org/reference
|
||||
article: https://amr-for-r.org/articles
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ options(AMR_guideline = "CLSI")"><meta property="og:image" content="ht
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ The AMR package is available in English, Arabic, Bengali, Chinese, Czech, Danish
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+11
-11
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -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.34795 0</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.76438 31</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.91507 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.67945 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 77 77.00822 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.72055 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.70685 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.81644 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.18904 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.77260 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1999-06-30 27 27.36164 0</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.77808 31</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.92877 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.69315 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 77 77.02192 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.73425 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.72055 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.83014 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.20274 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.78630 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.34795 0
|
||||
#> 2 1968-01-29 58 58.76438 31
|
||||
#> 3 1965-12-05 60 60.91507 34
|
||||
#> 4 1980-03-01 46 46.67945 19
|
||||
#> 5 1949-11-01 77 77.00822 50
|
||||
#> 6 1947-02-14 79 79.72055 52
|
||||
#> 7 1940-02-19 86 86.70685 59
|
||||
#> 8 1988-01-10 38 38.81644 11
|
||||
#> 9 1997-08-27 29 29.18904 2
|
||||
#> 10 1978-01-26 48 48.77260 21
|
||||
#> 1 1999-06-30 27 27.36164 0
|
||||
#> 2 1968-01-29 58 58.77808 31
|
||||
#> 3 1965-12-05 60 60.92877 34
|
||||
#> 4 1980-03-01 46 46.69315 19
|
||||
#> 5 1949-11-01 77 77.02192 50
|
||||
#> 6 1947-02-14 79 79.73425 52
|
||||
#> 7 1940-02-19 86 86.72055 59
|
||||
#> 8 1988-01-10 38 38.83014 11
|
||||
#> 9 1997-08-27 29 29.20274 2
|
||||
#> 10 1978-01-26 48 48.78630 21
|
||||
```
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -13,7 +13,7 @@ All antibiogram types adhere to previously described approaches (see Source), an
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -365,7 +365,7 @@ All antibiogram types adhere to previously described approaches (see Source), an
|
||||
|
||||
<p>All types of antibiograms as listed above can be plotted (using <code><a href="https://ggplot2.tidyverse.org/reference/autoplot.html" class="external-link">ggplot2::autoplot()</a></code> or base <span style="R">R</span>'s <code><a href="plot.html">plot()</a></code> and <code><a href="https://rdrr.io/r/graphics/barplot.html" class="external-link">barplot()</a></code>). As mentioned above, the numeric values of an antibiogram are stored in a long format as the <a href="https://rdrr.io/r/base/attributes.html" class="external-link">attribute</a> <code>long_numeric</code>. You can retrieve them using <code>attributes(x)$long_numeric</code>, where <code>x</code> is the outcome of <code>antibiogram()</code> or <code>wisca()</code>.</p>
|
||||
<p>The outcome of <code>antibiogram()</code> can also be used directly in R Markdown / Quarto (i.e., <code>knitr</code>) for reports. In this case, <code><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">knitr::kable()</a></code> will be applied automatically and microorganism names will even be printed in italics at default (see argument <code>italicise</code>).</p>
|
||||
<p>You can also use functions from specific 'table reporting' packages to transform the output of <code>antibiogram()</code> to your needs, e.g. with <code>flextable::as_flextable()</code> or <code>gt::gt()</code>.</p>
|
||||
<p>You can also use functions from specific 'table reporting' packages to transform the output of <code>antibiogram()</code> to your needs, e.g. with <code><a href="https://davidgohel.github.io/flextable/reference/as_flextable.html" class="external-link">flextable::as_flextable()</a></code> or <code>gt::gt()</code>.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -538,7 +538,8 @@ italics at default (see argument `italicise`).
|
||||
|
||||
You can also use functions from specific 'table reporting' packages to
|
||||
transform the output of `antibiogram()` to your needs, e.g. with
|
||||
`flextable::as_flextable()` or `gt::gt()`.
|
||||
[`flextable::as_flextable()`](https://davidgohel.github.io/flextable/reference/as_flextable.html)
|
||||
or `gt::gt()`.
|
||||
|
||||
## Explaining WISCA
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %&gt;%
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ The antibiotics data set has been renamed to antimicrobials. The old name will b
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -469,10 +469,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-11-04 <span style="color: #949494;">07:11:28</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-11-04 <span style="color: #949494;">07:11:28</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-11-04 <span style="color: #949494;">07:11:28</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-11-04 <span style="color: #949494;">07:11:28</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-11-09 <span style="color: #949494;">19:52:23</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-11-09 <span style="color: #949494;">19:52:23</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-11-09 <span style="color: #949494;">19:52:23</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-11-09 <span style="color: #949494;">19:52:23</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
@@ -790,10 +790,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-11-04 07:11:28 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2026-11-04 07:11:28 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2026-11-04 07:11:28 1 DISK tobra Escherich… human 16
|
||||
#> 4 2026-11-04 07:11:28 1 DISK genta Escherich… human 18
|
||||
#> 1 2026-11-09 19:52:23 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2026-11-09 19:52:23 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2026-11-09 19:52:23 1 DISK tobra Escherich… human 16
|
||||
#> 4 2026-11-09 19:52:23 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>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -21,7 +21,7 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -335,7 +335,7 @@
|
||||
</dl></div><div class="section level2">
|
||||
<h2 id="visualising-data">Visualising data<a class="anchor" aria-label="anchor" href="#visualising-data"></a></h2>
|
||||
|
||||
<div class="section-desc"><p>Plot MIC values, disk zones, and SIR results in base R or <code>ggplot2</code>, with scales and colours tailored to AMR data.</p></div>
|
||||
<div class="section-desc"><p>Plot MIC values, disk zones, and SIR results in base R or <code>ggplot2</code>, with scales and colours tailored to AMR data, and taxonomic names in italics.</p></div>
|
||||
|
||||
<dl class="amr-ref-list"></dl></div><div class="section level2">
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
|
||||
<dl class="amr-ref-list"><div class="amr-ref-item">
|
||||
<dt><a href="plot.html">Plotting Helpers for AMR Data Analysis</a></dt>
|
||||
<dd><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">scale_x_sir()</a></code> <code><a href="plot.html">scale_colour_sir()</a></code> <code><a href="plot.html">scale_fill_sir()</a></code> <code><a href="plot.html">plot(<i><mic></i>)</a></code> <code><a href="plot.html">autoplot(<i><mic></i>)</a></code> <code><a href="plot.html">plot(<i><disk></i>)</a></code> <code><a href="plot.html">autoplot(<i><disk></i>)</a></code> <code><a href="plot.html">plot(<i><sir></i>)</a></code> <code><a href="plot.html">autoplot(<i><sir></i>)</a></code> <code><a href="plot.html">facet_sir()</a></code> <code><a href="plot.html">scale_y_percent()</a></code> <code><a href="plot.html">scale_sir_colours()</a></code> <code><a href="plot.html">theme_sir()</a></code> </dd>
|
||||
<dd><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">scale_x_sir()</a></code> <code><a href="plot.html">scale_colour_sir()</a></code> <code><a href="plot.html">scale_fill_sir()</a></code> <code><a href="plot.html">plot(<i><mic></i>)</a></code> <code><a href="plot.html">autoplot(<i><mic></i>)</a></code> <code><a href="plot.html">plot(<i><disk></i>)</a></code> <code><a href="plot.html">autoplot(<i><disk></i>)</a></code> <code><a href="plot.html">plot(<i><sir></i>)</a></code> <code><a href="plot.html">autoplot(<i><sir></i>)</a></code> <code><a href="plot.html">facet_sir()</a></code> <code><a href="plot.html">scale_y_percent()</a></code> <code><a href="plot.html">scale_sir_colours()</a></code> <code><a href="plot.html">theme_sir()</a></code> <code><a href="plot.html">labels_taxonomy()</a></code> </dd>
|
||||
</div>
|
||||
|
||||
<div class="amr-ref-item">
|
||||
|
||||
+3
-1
@@ -334,7 +334,8 @@ calculate resistance, and determine multidrug-resistant organisms.
|
||||
## Visualising data
|
||||
|
||||
Plot MIC values, disk zones, and SIR results in base R or `ggplot2`,
|
||||
with scales and colours tailored to AMR data.
|
||||
with scales and colours tailored to AMR data, and taxonomic names in
|
||||
italics.
|
||||
|
||||
[Plotting Helpers for AMR Data Analysis](https://amr-for-r.org/reference/plot.md)
|
||||
: [`scale_x_mic()`](https://amr-for-r.org/reference/plot.md)
|
||||
@@ -354,6 +355,7 @@ with scales and colours tailored to AMR data.
|
||||
[`scale_y_percent()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`scale_sir_colours()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`theme_sir()`](https://amr-for-r.org/reference/plot.md)
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md)
|
||||
|
||||
[AMR Plots with `ggplot2`](https://amr-for-r.org/reference/ggplot_sir.md)
|
||||
: [`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md)
|
||||
|
||||
@@ -9,7 +9,7 @@ To improve the interpretation of the antibiogram before CLSI/EUCAST interpretive
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -55,9 +55,9 @@
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="va">string</span>, type <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"markdown"</span>, <span class="st">"ansi"</span>, <span class="st">"html"</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="va">string</span>, type <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"markdown"</span>, <span class="st">"ansi"</span>, <span class="st">"html"</span>, <span class="st">"plotmath"</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">italicize_taxonomy</span><span class="op">(</span><span class="va">string</span>, type <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"markdown"</span>, <span class="st">"ansi"</span>, <span class="st">"html"</span><span class="op">)</span><span class="op">)</span></span></code></pre></div>
|
||||
<span><span class="fu">italicize_taxonomy</span><span class="op">(</span><span class="va">string</span>, type <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"markdown"</span>, <span class="st">"ansi"</span>, <span class="st">"html"</span>, <span class="st">"plotmath"</span><span class="op">)</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
@@ -69,14 +69,22 @@
|
||||
|
||||
|
||||
<dt id="arg-type">type<a class="anchor" aria-label="anchor" href="#arg-type"></a></dt>
|
||||
<dd><p>Type of conversion of the taxonomic names, either "markdown", "html" or "ansi", see <em>Details</em>.</p></dd>
|
||||
<dd><p>Type of conversion of the taxonomic names, either "markdown", "html", "ansi" or "plotmath", see <em>Details</em>.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>For "markdown", "html" and "ansi", a <a href="https://rdrr.io/r/base/character.html" class="external-link">character</a> vector. For "plotmath", an <a href="https://rdrr.io/r/base/expression.html" class="external-link">expression</a> vector. Both have the same length as <code>string</code> and keep <code>NA</code> values.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
|
||||
<p>This function finds the taxonomic names and makes them italic based on the <a href="microorganisms.html">microorganisms</a> data set.</p>
|
||||
<p>This function finds the taxonomic names and makes them italic based on the <a href="microorganisms.html">microorganisms</a> data set. Family and genus names are italicised anywhere in the text. Species and subspecies names are only italicised when they follow a genus, an abbreviated genus (such as "E." in "E. coli"), or another species or subspecies name, so that ordinary words that are also species names (such as "coli" or "major") stay upright. Subspecies may also follow "subsp.", "ssp." or "var.", which stay upright themselves, e.g., "<em>K. pneumoniae</em> subsp. <em>ozaenae</em>". <em>Salmonella</em> serovars (such as Typhimurium) and groups are not italicised, as is the convention. Punctuation around the names, such as brackets and commas, stays outside the italics.</p>
|
||||
<p>The taxonomic names can be italicised using markdown (the default) by adding <code>*</code> before and after the taxonomic names, or <code><i></code> and <code></i></code> when using html. When using 'ansi', ANSI colours will be added using <code>\033[3m</code> before and <code>\033[23m</code> after the taxonomic names. If multiple ANSI colours are not available, no conversion will occur.</p>
|
||||
<p>This function also supports abbreviation of the genus if it is followed by a species, such as "E. coli" and "K. pneumoniae ozaenae".</p>
|
||||
<p>Use <code>type = "plotmath"</code> to get an <a href="https://rdrr.io/r/base/expression.html" class="external-link">expression</a> vector for plots (see <a href="https://rdrr.io/r/grDevices/plotmath.html" class="external-link">plotmath</a>), which works for titles, axes and legends in both base <span style="R">R</span> and <code>ggplot2</code>. For axis and legend labels, the function <code><a href="plot.html">labels_taxonomy()</a></code> does exactly this and can directly be used as labeller, e.g., <code>ggplot2::scale_x_discrete(labels = labels_taxonomy)</code>.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
|
||||
<div class="dont-index"><p><code><a href="plot.html">labels_taxonomy()</a></code> to italicise taxonomic names in plot labels.</p></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
@@ -85,9 +93,17 @@
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "An overview of *Staphylococcus aureus* isolates"</span>
|
||||
<span class="r-in"><span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="st">"An overview of S. aureus isolates"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "An overview of *S. aureus* isolates"</span>
|
||||
<span class="r-in"><span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="st">"Infections with E. coli (and coli bacteria in general)"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Infections with *E. coli* (and coli bacteria in general)"</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/cat.html" class="external-link">cat</a></span><span class="op">(</span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="st">"An overview of S. aureus isolates"</span>, type <span class="op">=</span> <span class="st">"ansi"</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> An overview of <span style="font-style: italic;">S. aureus</span> isolates</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># for plots:</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="st">"An overview of S. aureus isolates"</span>, type <span class="op">=</span> <span class="st">"plotmath"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> expression(paste("An overview of ", italic("S. aureus"), " isolates"))</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="plot.html">plot</a></span><span class="op">(</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span>, main <span class="op">=</span> <span class="fu">italicise_taxonomy</span><span class="op">(</span><span class="st">"Growth of S. aureus"</span>, type <span class="op">=</span> <span class="st">"plotmath"</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-plt img"><img src="italicise_taxonomy-1.png" alt="" width="700" height="433"></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
|
||||
@@ -7,9 +7,9 @@ function finds taxonomic names within strings and makes them italic.
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
italicise_taxonomy(string, type = c("markdown", "ansi", "html"))
|
||||
italicise_taxonomy(string, type = c("markdown", "ansi", "html", "plotmath"))
|
||||
|
||||
italicize_taxonomy(string, type = c("markdown", "ansi", "html"))
|
||||
italicize_taxonomy(string, type = c("markdown", "ansi", "html", "plotmath"))
|
||||
```
|
||||
|
||||
## Arguments
|
||||
@@ -20,14 +20,30 @@ italicize_taxonomy(string, type = c("markdown", "ansi", "html"))
|
||||
|
||||
- type:
|
||||
|
||||
Type of conversion of the taxonomic names, either "markdown", "html"
|
||||
or "ansi", see *Details*.
|
||||
Type of conversion of the taxonomic names, either "markdown", "html",
|
||||
"ansi" or "plotmath", see *Details*.
|
||||
|
||||
## Value
|
||||
|
||||
For "markdown", "html" and "ansi", a
|
||||
[character](https://rdrr.io/r/base/character.html) vector. For
|
||||
"plotmath", an [expression](https://rdrr.io/r/base/expression.html)
|
||||
vector. Both have the same length as `string` and keep `NA` values.
|
||||
|
||||
## Details
|
||||
|
||||
This function finds the taxonomic names and makes them italic based on
|
||||
the [microorganisms](https://amr-for-r.org/reference/microorganisms.md)
|
||||
data set.
|
||||
data set. Family and genus names are italicised anywhere in the text.
|
||||
Species and subspecies names are only italicised when they follow a
|
||||
genus, an abbreviated genus (such as "E." in "E. coli"), or another
|
||||
species or subspecies name, so that ordinary words that are also species
|
||||
names (such as "coli" or "major") stay upright. Subspecies may also
|
||||
follow "subsp.", "ssp." or "var.", which stay upright themselves, e.g.,
|
||||
"*K. pneumoniae* subsp. *ozaenae*". *Salmonella* serovars (such as
|
||||
Typhimurium) and groups are not italicised, as is the convention.
|
||||
Punctuation around the names, such as brackets and commas, stays outside
|
||||
the italics.
|
||||
|
||||
The taxonomic names can be italicised using markdown (the default) by
|
||||
adding `*` before and after the taxonomic names, or `<i>` and `</i>`
|
||||
@@ -35,8 +51,19 @@ when using html. When using 'ansi', ANSI colours will be added using
|
||||
`\033[3m` before and `\033[23m` after the taxonomic names. If multiple
|
||||
ANSI colours are not available, no conversion will occur.
|
||||
|
||||
This function also supports abbreviation of the genus if it is followed
|
||||
by a species, such as "E. coli" and "K. pneumoniae ozaenae".
|
||||
Use `type = "plotmath"` to get an
|
||||
[expression](https://rdrr.io/r/base/expression.html) vector for plots
|
||||
(see [plotmath](https://rdrr.io/r/grDevices/plotmath.html)), which works
|
||||
for titles, axes and legends in both base R and `ggplot2`. For axis and
|
||||
legend labels, the function
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md) does
|
||||
exactly this and can directly be used as labeller, e.g.,
|
||||
`ggplot2::scale_x_discrete(labels = labels_taxonomy)`.
|
||||
|
||||
## See also
|
||||
|
||||
[`labels_taxonomy()`](https://amr-for-r.org/reference/plot.md) to
|
||||
italicise taxonomic names in plot labels.
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -45,7 +72,14 @@ italicise_taxonomy("An overview of Staphylococcus aureus isolates")
|
||||
#> [1] "An overview of *Staphylococcus aureus* isolates"
|
||||
italicise_taxonomy("An overview of S. aureus isolates")
|
||||
#> [1] "An overview of *S. aureus* isolates"
|
||||
italicise_taxonomy("Infections with E. coli (and coli bacteria in general)")
|
||||
#> [1] "Infections with *E. coli* (and coli bacteria in general)"
|
||||
|
||||
cat(italicise_taxonomy("An overview of S. aureus isolates", type = "ansi"))
|
||||
#> An overview of S. aureus isolates
|
||||
|
||||
# for plots:
|
||||
italicise_taxonomy("An overview of S. aureus isolates", type = "plotmath")
|
||||
#> expression(paste("An overview of ", italic("S. aureus"), " isolates"))
|
||||
plot(1:10, main = italicise_taxonomy("Growth of S. aureus", type = "plotmath"))
|
||||
```
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://amr-for-r.org/reference/plot.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://amr-for-r.org/reference/plot.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ This data set is carefully crafted, yet made 100% reproducible from public and a
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ This is the fastest way to have your organisation (or analysis) specific codes p
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
+27
-4
@@ -9,7 +9,7 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -189,7 +189,9 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
||||
<span> colours_SIR <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span>S <span class="op">=</span> <span class="st">"#3CAEA3"</span>, SDD <span class="op">=</span> <span class="st">"#8FD6C4"</span>, I <span class="op">=</span> <span class="st">"#F6D55C"</span>, R <span class="op">=</span> <span class="st">"#ED553B"</span><span class="op">)</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">theme_sir</span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<span><span class="fu">theme_sir</span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">labels_taxonomy</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
@@ -221,7 +223,7 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
||||
|
||||
|
||||
<dt id="arg-x-object">x, object<a class="anchor" aria-label="anchor" href="#arg-x-object"></a></dt>
|
||||
<dd><p>Values created with <code><a href="as.mic.html">as.mic()</a></code>, <code><a href="as.disk.html">as.disk()</a></code> or <code><a href="as.sir.html">as.sir()</a></code> (or their <code>random_*</code> variants, such as <code><a href="random.html">random_mic()</a></code>).</p></dd>
|
||||
<dd><p>Values created with <code><a href="as.mic.html">as.mic()</a></code>, <code><a href="as.disk.html">as.disk()</a></code> or <code><a href="as.sir.html">as.sir()</a></code> (or their <code>random_*</code> variants, such as <code><a href="random.html">random_mic()</a></code>). For <code>labels_taxonomy()</code>, any values to use as labels, such as the breaks of an axis.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-mo">mo<a class="anchor" aria-label="anchor" href="#arg-mo"></a></dt>
|
||||
@@ -310,7 +312,14 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
||||
<li><p><code>scale_sir_colours()</code> allows to set colours to any aesthetic, even for <code>shape</code> or <code>linetype</code>.</p></li>
|
||||
<li><p><code>theme_sir()</code> is a <a href="https://ggplot2.tidyverse.org/reference/theme.html" class="external-link">ggplot2 theme</a> with minimal distraction.</p></li>
|
||||
<li><p><code><a href="ggplot_sir.html">labels_sir_count()</a></code> prints data labels on the bars with percentage and number of isolates, using <code><a href="https://ggplot2.tidyverse.org/reference/geom_text.html" class="external-link">ggplot2::geom_text()</a></code>.</p></li>
|
||||
</ul><p>The interpretation of "I" will be named "Susceptible, incr. exp." (susceptible, increased exposure) for all EUCAST guidelines since 2019, and will be named "Intermediate" in all other cases.</p>
|
||||
</ul></div>
|
||||
|
||||
<div class="section">
|
||||
<h3 id="taxonomic-names-in-labels">Taxonomic Names in Labels<a class="anchor" aria-label="anchor" href="#taxonomic-names-in-labels"></a></h3>
|
||||
|
||||
|
||||
<p>The function <code>labels_taxonomy()</code> prints taxonomic names in axis and legend labels in italics, as is the convention in microbiology, e.g., <em>E. coli</em> and <em>Klebsiella pneumoniae</em>. It can directly be used as labeller in <code>ggplot2</code>, e.g., <code>scale_x_discrete(labels = labels_taxonomy)</code>, and in base <span style="R">R</span>, e.g., <code>axis(1, at = 1:3, labels = labels_taxonomy(names))</code>. Other words, such as "Other" or "CoNS", stay upright. It uses <code><a href="italicise_taxonomy.html">italicise_taxonomy()</a></code> with <code>type = "plotmath"</code>, which also works for titles. It returns an <a href="https://rdrr.io/r/base/expression.html" class="external-link">expression</a> vector of the same length as <code>x</code>; other arguments in <code>...</code> are ignored.</p>
|
||||
<p>The interpretation of "I" will be named "Susceptible, incr. exp." (susceptible, increased exposure) for all EUCAST guidelines since 2019, and will be named "Intermediate" in all other cases.</p>
|
||||
<p>For interpreting MIC values as well as disk diffusion diameters, the default guideline is EUCAST 2026, unless the package option <code><a href="AMR-options.html">AMR_guideline</a></code> is set. See <code><a href="as.sir.html">as.sir()</a></code> for more information.</p>
|
||||
</div>
|
||||
|
||||
@@ -480,6 +489,20 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="fu">plot</span><span class="op">(</span><span class="va">some_sir_values</span><span class="op">)</span></span></span>
|
||||
<span class="r-plt img"><img src="plot-19.png" alt="" width="700" height="433"></span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># Taxonomic names in italics using labels_taxonomy() ------------------</span></span></span>
|
||||
<span class="r-in"><span><span class="va">bacteria</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> name <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"E. coli"</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"CoNS"</span>, <span class="st">"Other"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> n <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">25</span>, <span class="fl">18</span>, <span class="fl">9</span>, <span class="fl">6</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/graphics/barplot.html" class="external-link">barplot</a></span><span class="op">(</span><span class="va">bacteria</span><span class="op">$</span><span class="va">n</span>, names.arg <span class="op">=</span> <span class="fu">labels_taxonomy</span><span class="op">(</span><span class="va">bacteria</span><span class="op">$</span><span class="va">name</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-plt img"><img src="plot-20.png" alt="" width="700" height="433"></span>
|
||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://ggplot2.tidyverse.org" class="external-link">"ggplot2"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/ggplot.html" class="external-link">ggplot</a></span><span class="op">(</span><span class="va">bacteria</span>, <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/aes.html" class="external-link">aes</a></span><span class="op">(</span><span class="va">name</span>, <span class="va">n</span><span class="op">)</span><span class="op">)</span> <span class="op">+</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/geom_bar.html" class="external-link">geom_col</a></span><span class="op">(</span><span class="op">)</span> <span class="op">+</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://ggplot2.tidyverse.org/reference/scale_discrete.html" class="external-link">scale_x_discrete</a></span><span class="op">(</span>labels <span class="op">=</span> <span class="va">labels_taxonomy</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||
<span class="r-plt img"><img src="plot-21.png" alt="" width="700" height="433"></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
|
||||
+33
-1
@@ -142,6 +142,8 @@ scale_sir_colours(
|
||||
)
|
||||
|
||||
theme_sir()
|
||||
|
||||
labels_taxonomy(x, ...)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
@@ -203,7 +205,9 @@ theme_sir()
|
||||
[`as.disk()`](https://amr-for-r.org/reference/as.disk.md) or
|
||||
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) (or their
|
||||
`random_*` variants, such as
|
||||
[`random_mic()`](https://amr-for-r.org/reference/random.md)).
|
||||
[`random_mic()`](https://amr-for-r.org/reference/random.md)). For
|
||||
`labels_taxonomy()`, any values to use as labels, such as the breaks
|
||||
of an axis.
|
||||
|
||||
- mo:
|
||||
|
||||
@@ -345,6 +349,20 @@ internally used by
|
||||
using
|
||||
[`ggplot2::geom_text()`](https://ggplot2.tidyverse.org/reference/geom_text.html).
|
||||
|
||||
### Taxonomic Names in Labels
|
||||
|
||||
The function `labels_taxonomy()` prints taxonomic names in axis and
|
||||
legend labels in italics, as is the convention in microbiology, e.g.,
|
||||
*E. coli* and *Klebsiella pneumoniae*. It can directly be used as
|
||||
labeller in `ggplot2`, e.g.,
|
||||
`scale_x_discrete(labels = labels_taxonomy)`, and in base R, e.g.,
|
||||
`axis(1, at = 1:3, labels = labels_taxonomy(names))`. Other words, such
|
||||
as "Other" or "CoNS", stay upright. It uses
|
||||
[`italicise_taxonomy()`](https://amr-for-r.org/reference/italicise_taxonomy.md)
|
||||
with `type = "plotmath"`, which also works for titles. It returns an
|
||||
[expression](https://rdrr.io/r/base/expression.html) vector of the same
|
||||
length as `x`; other arguments in `...` are ignored.
|
||||
|
||||
The interpretation of "I" will be named "Susceptible, incr. exp."
|
||||
(susceptible, increased exposure) for all EUCAST guidelines since 2019,
|
||||
and will be named "Intermediate" in all other cases.
|
||||
@@ -519,4 +537,18 @@ plot(some_disk_values, mo = "Escherichia coli", ab = "cipro", language = "nl")
|
||||
|
||||
|
||||
plot(some_sir_values)
|
||||
|
||||
|
||||
# Taxonomic names in italics using labels_taxonomy() ------------------
|
||||
bacteria <- data.frame(
|
||||
name = c("E. coli", "Klebsiella pneumoniae", "CoNS", "Other"),
|
||||
n = c(25, 18, 9, 6)
|
||||
)
|
||||
barplot(bacteria$n, names.arg = labels_taxonomy(bacteria$name))
|
||||
|
||||
if (require("ggplot2")) {
|
||||
ggplot(bacteria, aes(name, n)) +
|
||||
geom_col() +
|
||||
scale_x_discrete(labels = labels_taxonomy)
|
||||
}
|
||||
```
|
||||
@@ -9,7 +9,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ NOTE: These functions are deprecated and will be removed in a future version. Us
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -17,7 +17,7 @@ See Combination Therapy below for the exact rules. The same rules are used by an
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -9,7 +9,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9015</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.1.0.9017</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user