Built site for AMR@2.1.1.9083: 8907e8e
2
404.html
@ -30,7 +30,7 @@
|
||||
|
||||
<a class="navbar-brand me-2" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -95,7 +95,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 29 September 2024.</p>
|
||||
generated on 30 September 2024.</p>
|
||||
<div class="section level2">
|
||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||
</h2>
|
||||
@ -151,21 +151,21 @@ make the structure of your data generally look like this:</p>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr class="odd">
|
||||
<td align="center">2024-09-29</td>
|
||||
<td align="center">2024-09-30</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">2024-09-29</td>
|
||||
<td align="center">2024-09-30</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">2024-09-29</td>
|
||||
<td align="center">2024-09-30</td>
|
||||
<td align="center">efgh</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">R</td>
|
||||
@ -278,36 +278,36 @@ taxonomic codes. Let’s check this:</p>
|
||||
<span><span class="co">#> taxonomic name, and the pathogenicity in humans. See ?mo_matching_score.</span></span>
|
||||
<span><span class="co">#> </span></span>
|
||||
<span><span class="co">#> --------------------------------------------------------------------------------</span></span>
|
||||
<span><span class="co">#> "E. coli" -> Escherichia coli (B_ESCHR_COLI, 0.688)</span></span>
|
||||
<span><span class="co">#> Also matched: Enterococcus crotali (0.650), Escherichia coli coli</span></span>
|
||||
<span><span class="co">#> (0.643), Escherichia coli expressing (0.611), Erwinia coffeiphila</span></span>
|
||||
<span><span class="co">#> (0.605), Eubacterium coprostanoligenes (0.603), Enterobacter cowanii</span></span>
|
||||
<span><span class="co">#> (0.600), Eubacterium combesii (0.600), Enterococcus columbae (0.595),</span></span>
|
||||
<span><span class="co">#> Eggerthia catenaformis (0.591), and Enterococcus camelliae (0.591)</span></span>
|
||||
<span><span class="co">#> "E. coli" -> Enterococcus crotali (B_ENTRC_CRTL, 0.650)</span></span>
|
||||
<span><span class="co">#> Also matched: Escherichia coli (0.598), Enterococcus columbae (0.595),</span></span>
|
||||
<span><span class="co">#> Enterococcus camelliae (0.591), Enterococcus casseliflavus (0.577),</span></span>
|
||||
<span><span class="co">#> Escherichia coli coli (0.559), Enterococcus canis (0.556), Enterococcus</span></span>
|
||||
<span><span class="co">#> cecorum (0.550), Enterococcus canintestini (0.540), Escherichia coli</span></span>
|
||||
<span><span class="co">#> expressing (0.531), and Enterobacter cowanii (0.522)</span></span>
|
||||
<span><span class="co">#> --------------------------------------------------------------------------------</span></span>
|
||||
<span><span class="co">#> "K. pneumoniae" -> Klebsiella pneumoniae (B_KLBSL_PNMN, 0.786)</span></span>
|
||||
<span><span class="co">#> Also matched: Klebsiella pneumoniae ozaenae (0.707), Klebsiella</span></span>
|
||||
<span><span class="co">#> pneumoniae pneumoniae (0.688), Klebsiella pneumoniae rhinoscleromatis</span></span>
|
||||
<span><span class="co">#> (0.658), Kosakonia pseudosacchari (0.542), Kaistella palustris (0.500),</span></span>
|
||||
<span><span class="co">#> Kaistella polysaccharea (0.500), Kingella potus (0.500), Kingella</span></span>
|
||||
<span><span class="co">#> pumchi (0.500), Klebsiella pasteurii (0.500), and Klebsiella planticola</span></span>
|
||||
<span><span class="co">#> (0.500)</span></span>
|
||||
<span><span class="co">#> (0.658), Klebsiella pasteurii (0.500), Klebsiella planticola (0.500),</span></span>
|
||||
<span><span class="co">#> Kingella potus (0.400), Kluyveromyces pseudotropicale (0.386),</span></span>
|
||||
<span><span class="co">#> Kluyveromyces pseudotropicalis (0.363), Kosakonia pseudosacchari</span></span>
|
||||
<span><span class="co">#> (0.361), and Kluyveromyces pseudotropicalis pseudotropicalis (0.361)</span></span>
|
||||
<span><span class="co">#> --------------------------------------------------------------------------------</span></span>
|
||||
<span><span class="co">#> "S. aureus" -> Streptomyces aureus (B_SMYCS_AURS, 0.711)</span></span>
|
||||
<span><span class="co">#> Also matched: Streptomyces azureus (0.700), Staphylococcus aureus</span></span>
|
||||
<span><span class="co">#> (0.690), Streptomyces aureorectus (0.667), Streptomyces albipurpureus</span></span>
|
||||
<span><span class="co">#> (0.654), Streptomyces auratus (0.650), Staphylococcus aureus aureus</span></span>
|
||||
<span><span class="co">#> (0.643), Streptomyces aurantiogriseus (0.643), Streptomyces</span></span>
|
||||
<span><span class="co">#> aureocirculatus (0.643), Streptomyces aureoverticillatus (0.629), and</span></span>
|
||||
<span><span class="co">#> Staphylococcus argenteus (0.625)</span></span>
|
||||
<span><span class="co">#> "S. aureus" -> Staphylococcus aureus (B_STPHY_AURS, 0.690)</span></span>
|
||||
<span><span class="co">#> Also matched: Staphylococcus aureus aureus (0.643), Staphylococcus</span></span>
|
||||
<span><span class="co">#> argenteus (0.625), Staphylococcus aureus anaerobius (0.625),</span></span>
|
||||
<span><span class="co">#> Staphylococcus auricularis (0.615), Salmonella Aurelianis (0.595),</span></span>
|
||||
<span><span class="co">#> Salmonella Aarhus (0.588), Salmonella Amounderness (0.587),</span></span>
|
||||
<span><span class="co">#> Staphylococcus argensis (0.587), Streptococcus australis (0.587), and</span></span>
|
||||
<span><span class="co">#> Salmonella choleraesuis arizonae (0.562)</span></span>
|
||||
<span><span class="co">#> --------------------------------------------------------------------------------</span></span>
|
||||
<span><span class="co">#> "S. pneumoniae" -> Streptococcus pneumoniae (B_STRPT_PNMN, 0.750)</span></span>
|
||||
<span><span class="co">#> Also matched: Streptococcus pseudopneumoniae (0.700), Sphingomonas</span></span>
|
||||
<span><span class="co">#> piscinae (0.619), Sphingomonas paeninsulae (0.604), Streptomyces</span></span>
|
||||
<span><span class="co">#> pseudovenezuelae (0.603), Sphingomonas panaciterrae (0.600),</span></span>
|
||||
<span><span class="co">#> Sphingobacterium pakistanense (0.586), Shewanella pneumatophori</span></span>
|
||||
<span><span class="co">#> (0.583), Sphingobacterium pakistanensis (0.583), Sphingomonas palmae</span></span>
|
||||
<span><span class="co">#> (0.579), and Sphingomonas pseudosanguinis (0.571)</span></span>
|
||||
<span><span class="co">#> Also matched: Streptococcus pseudopneumoniae (0.700), Streptococcus</span></span>
|
||||
<span><span class="co">#> phocae salmonis (0.552), Streptococcus pseudoporcinus (0.536),</span></span>
|
||||
<span><span class="co">#> Staphylococcus piscifermentans (0.533), Staphylococcus pseudintermedius</span></span>
|
||||
<span><span class="co">#> (0.532), Streptococcus gallolyticus pasteurianus (0.526), Salmonella</span></span>
|
||||
<span><span class="co">#> Portanigra (0.524), Streptococcus periodonticum (0.519), Streptococcus</span></span>
|
||||
<span><span class="co">#> phocae phocae (0.519), and Streptococcus pluranimalium (0.519)</span></span>
|
||||
<span><span class="co">#> </span></span>
|
||||
<span><span class="co">#> Only the first 10 other matches of each record are shown. Run</span></span>
|
||||
<span><span class="co">#> print(mo_uncertainties(), n = ...) to view more entries, or save</span></span>
|
||||
@ -341,16 +341,16 @@ dplyr:</p>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 3,000 × 8</span></span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP GEN </span></span>
|
||||
<span><span class="co">#> <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;"><date></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> J3 A 2012-11-21 B_ESCHR_COLI R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> J3 A 2012-11-21 B_ENTRC_CRTL R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R7 A 2018-04-03 B_KLBSL_PNMN R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> P3 A 2014-09-19 B_ESCHR_COLI R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> P10 A 2015-12-10 B_ESCHR_COLI S I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B7 A 2015-03-02 B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> W3 A 2018-03-31 B_SMYCS_AURS R S R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> J8 A 2016-06-14 B_ESCHR_COLI R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> M3 A 2015-10-25 B_ESCHR_COLI R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> J3 A 2019-06-19 B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> G6 A 2015-04-27 B_SMYCS_AURS S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> P3 A 2014-09-19 B_ENTRC_CRTL R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> P10 A 2015-12-10 B_ENTRC_CRTL S I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B7 A 2015-03-02 B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> W3 A 2018-03-31 B_STPHY_AURS R S R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> J8 A 2016-06-14 B_ENTRC_CRTL R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> M3 A 2015-10-25 B_ENTRC_CRTL R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> J3 A 2019-06-19 B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> G6 A 2015-04-27 B_STPHY_AURS S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,990 more rows</span></span></span></code></pre></div>
|
||||
<p>This is basically it for the cleaning, time to start the data
|
||||
inclusion.</p>
|
||||
@ -404,9 +404,9 @@ the methods on the <code><a href="../reference/first_isolate.html">first_isolate
|
||||
<span><span class="co">#> ℹ Using column 'patient_id' as input for col_patient_id.</span></span>
|
||||
<span><span class="co">#> ℹ Basing inclusion on all antimicrobial results, using a points threshold</span></span>
|
||||
<span><span class="co">#> of 2</span></span>
|
||||
<span><span class="co">#> => Found 2,724 'phenotype-based' first isolates (90.8% of total where a</span></span>
|
||||
<span><span class="co">#> => Found 2,764 'phenotype-based' first isolates (92.1% of total where a</span></span>
|
||||
<span><span class="co">#> microbial ID was available)</span></span></code></pre></div>
|
||||
<p>So only 91% is suitable for resistance analysis! We can now filter on
|
||||
<p>So only 92% is suitable for resistance analysis! We can now filter on
|
||||
it with the <code><a href="https://dplyr.tidyverse.org/reference/filter.html" class="external-link">filter()</a></code> function, also from the
|
||||
<code>dplyr</code> package:</p>
|
||||
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
||||
@ -416,24 +416,24 @@ it with the <code><a href="https://dplyr.tidyverse.org/reference/filter.html" cl
|
||||
<div class="sourceCode" id="cb10"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">our_data_1st</span> <span class="op"><-</span> <span class="va">our_data</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/first_isolate.html">filter_first_isolate</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<p>So we end up with 2 724 isolates for analysis. Now our data looks
|
||||
<p>So we end up with 2 764 isolates for analysis. Now our data looks
|
||||
like:</p>
|
||||
<div class="sourceCode" id="cb11"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">our_data_1st</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,724 × 9</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,764 × 9</span></span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP GEN first</span></span>
|
||||
<span><span class="co">#> <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;"><date></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><lgl></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> J3 A 2012-11-21 B_ESCHR_COLI R I S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> J3 A 2012-11-21 B_ENTRC_CRTL R I S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R7 A 2018-04-03 B_KLBSL_PNMN R I S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> P10 A 2015-12-10 B_ESCHR_COLI S I S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B7 A 2015-03-02 B_ESCHR_COLI S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> W3 A 2018-03-31 B_SMYCS_AURS R S R S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> M3 A 2015-10-25 B_ESCHR_COLI R S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> J3 A 2019-06-19 B_ESCHR_COLI S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> G6 A 2015-04-27 B_SMYCS_AURS S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> P4 A 2011-06-21 B_ESCHR_COLI S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> Z1 A 2014-09-05 B_ESCHR_COLI S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,714 more rows</span></span></span></code></pre></div>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> P10 A 2015-12-10 B_ENTRC_CRTL S I S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B7 A 2015-03-02 B_ENTRC_CRTL S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> W3 A 2018-03-31 B_STPHY_AURS R S R S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> M3 A 2015-10-25 B_ENTRC_CRTL R S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> J3 A 2019-06-19 B_ENTRC_CRTL S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> G6 A 2015-04-27 B_STPHY_AURS S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> P4 A 2011-06-21 B_ENTRC_CRTL S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> Z1 A 2014-09-05 B_ENTRC_CRTL S S S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,754 more rows</span></span></span></code></pre></div>
|
||||
<p>Time for the analysis.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -446,34 +446,34 @@ impression, as it comes with support for the new <code>mo</code> and
|
||||
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="va">our_data_1st</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> patient_id hospital date </span></span>
|
||||
<span><span class="co">#> Length:2724 Length:2724 Min. :2011-01-01 </span></span>
|
||||
<span><span class="co">#> Class :character Class :character 1st Qu.:2013-04-26 </span></span>
|
||||
<span><span class="co">#> Mode :character Mode :character Median :2015-06-14 </span></span>
|
||||
<span><span class="co">#> Mean :2015-06-18 </span></span>
|
||||
<span><span class="co">#> 3rd Qu.:2017-08-21 </span></span>
|
||||
<span><span class="co">#> Max. :2019-12-27 </span></span>
|
||||
<span><span class="co">#> Length:2764 Length:2764 Min. :2011-01-01 </span></span>
|
||||
<span><span class="co">#> Class :character Class :character 1st Qu.:2013-04-18 </span></span>
|
||||
<span><span class="co">#> Mode :character Mode :character Median :2015-06-07 </span></span>
|
||||
<span><span class="co">#> Mean :2015-06-16 </span></span>
|
||||
<span><span class="co">#> 3rd Qu.:2017-08-23 </span></span>
|
||||
<span><span class="co">#> Max. :2020-01-01 </span></span>
|
||||
<span><span class="co">#> bacteria AMX AMC </span></span>
|
||||
<span><span class="co">#> Class :mo Class:sir Class:sir </span></span>
|
||||
<span><span class="co">#> <NA> :0 %S :41.4% (n=1127) %S :52.2% (n=1421) </span></span>
|
||||
<span><span class="co">#> <NA> :0 %S :42.1% (n=1163) %S :53.0% (n=1464) </span></span>
|
||||
<span><span class="co">#> Unique:5 %SDD : 0.0% (n=0) %SDD : 0.0% (n=0) </span></span>
|
||||
<span><span class="co">#> #1 :B_ESCHR_COLI %I :16.1% (n=438) %I :12.1% (n=329) </span></span>
|
||||
<span><span class="co">#> #2 :B_STPHY_AURS %R :42.5% (n=1159) %R :35.8% (n=974) </span></span>
|
||||
<span><span class="co">#> #3 :B_STRPT_PNMN %NI : 0.0% (n=0) %NI : 0.0% (n=0) </span></span>
|
||||
<span><span class="co">#> #1 :B_ESCHR_COLI %I :16.2% (n=447) %I :12.2% (n=337) </span></span>
|
||||
<span><span class="co">#> #2 :B_STPHY_AURS %R :41.8% (n=1154) %R :34.8% (n=963) </span></span>
|
||||
<span><span class="co">#> #3 :B_ENTRC_CRTL %NI : 0.0% (n=0) %NI : 0.0% (n=0) </span></span>
|
||||
<span><span class="co">#> CIP GEN first </span></span>
|
||||
<span><span class="co">#> Class:sir Class:sir Mode:logical </span></span>
|
||||
<span><span class="co">#> %S :51.7% (n=1407) %S :59.9% (n=1632) TRUE:2724 </span></span>
|
||||
<span><span class="co">#> %S :52.9% (n=1462) %S :61.5% (n=1699) TRUE:2764 </span></span>
|
||||
<span><span class="co">#> %SDD : 0.0% (n=0) %SDD : 0.0% (n=0) </span></span>
|
||||
<span><span class="co">#> %I : 6.5% (n=178) %I : 3.1% (n=85) </span></span>
|
||||
<span><span class="co">#> %R :41.8% (n=1139) %R :37.0% (n=1007) </span></span>
|
||||
<span><span class="co">#> %I : 6.3% (n=174) %I : 3.0% (n=82) </span></span>
|
||||
<span><span class="co">#> %R :40.8% (n=1128) %R :35.6% (n=983) </span></span>
|
||||
<span><span class="co">#> %NI : 0.0% (n=0) %NI : 0.0% (n=0)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu"><a href="https://pillar.r-lib.org/reference/glimpse.html" class="external-link">glimpse</a></span><span class="op">(</span><span class="va">our_data_1st</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> Rows: 2,724</span></span>
|
||||
<span><span class="co">#> Rows: 2,764</span></span>
|
||||
<span><span class="co">#> Columns: 9</span></span>
|
||||
<span><span class="co">#> $ patient_id <span style="color: #949494; font-style: italic;"><chr></span> "J3", "R7", "P10", "B7", "W3", "M3", "J3", "G6", "P4", "Z1"…</span></span>
|
||||
<span><span class="co">#> $ hospital <span style="color: #949494; font-style: italic;"><chr></span> "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A",…</span></span>
|
||||
<span><span class="co">#> $ date <span style="color: #949494; font-style: italic;"><date></span> 2012-11-21, 2018-04-03, 2015-12-10, 2015-03-02, 2018-03-31…</span></span>
|
||||
<span><span class="co">#> $ bacteria <span style="color: #949494; font-style: italic;"><mo></span> "B_ESCHR_COLI", "B_KLBSL_PNMN", "B_ESCHR_COLI", "B_ESCHR_COL…</span></span>
|
||||
<span><span class="co">#> $ bacteria <span style="color: #949494; font-style: italic;"><mo></span> "B_ENTRC_CRTL", "B_KLBSL_PNMN", "B_ENTRC_CRTL", "B_ENTRC_CRT…</span></span>
|
||||
<span><span class="co">#> $ AMX <span style="color: #949494; font-style: italic;"><sir></span> R, R, S, S, R, R, S, S, S, S, R, S, S, S, R, R, R, R, S, R,…</span></span>
|
||||
<span><span class="co">#> $ AMC <span style="color: #949494; font-style: italic;"><sir></span> I, I, I, S, S, S, S, S, S, S, S, S, I, S, S, S, S, R, S, S,…</span></span>
|
||||
<span><span class="co">#> $ CIP <span style="color: #949494; font-style: italic;"><sir></span> S, S, S, S, R, S, S, S, S, S, S, S, S, S, S, S, S, S, S, S,…</span></span>
|
||||
@ -483,7 +483,7 @@ impression, as it comes with support for the new <code>mo</code> and
|
||||
<span><span class="co"># number of unique values per column:</span></span>
|
||||
<span><span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">sapply</a></span><span class="op">(</span><span class="va">our_data_1st</span>, <span class="va">n_distinct</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP </span></span>
|
||||
<span><span class="co">#> 260 3 1853 5 3 3 3 </span></span>
|
||||
<span><span class="co">#> 260 3 1877 5 3 3 3 </span></span>
|
||||
<span><span class="co">#> GEN first </span></span>
|
||||
<span><span class="co">#> 3 1</span></span></code></pre></div>
|
||||
<div class="section level3">
|
||||
@ -498,22 +498,22 @@ microorganisms:</p>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 5 × 2</span></span></span>
|
||||
<span><span class="co">#> `mo_name(bacteria)` n</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> Escherichia coli <span style="text-decoration: underline;">1</span>518</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> Staphylococcus aureus 483</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> Streptococcus pneumoniae 426</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">4</span> Klebsiella pneumoniae 326</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">5</span> Streptomyces aureus 247</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> Escherichia coli <span style="text-decoration: underline;">1</span>024</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> Staphylococcus aureus 730</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> Enterococcus crotali 494</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">4</span> Streptococcus pneumoniae 426</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">5</span> Klebsiella pneumoniae 326</span></span>
|
||||
<span></span>
|
||||
<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><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>, sort <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 5 × 2</span></span></span>
|
||||
<span><span class="co">#> `mo_name(bacteria)` n</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> Escherichia coli <span style="text-decoration: underline;">1</span>319</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> Staphylococcus aureus 456</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> Streptococcus pneumoniae 400</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">4</span> Klebsiella pneumoniae 317</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">5</span> Streptomyces aureus 232</span></span></code></pre></div>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> Escherichia coli 919</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> Staphylococcus aureus 682</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> Enterococcus crotali 442</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">4</span> Streptococcus pneumoniae 402</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">5</span> Klebsiella pneumoniae 319</span></span></code></pre></div>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="select-and-filter-with-antibiotic-selectors">Select and filter with antibiotic selectors<a class="anchor" aria-label="anchor" href="#select-and-filter-with-antibiotic-selectors"></a>
|
||||
@ -525,7 +525,7 @@ in:</p>
|
||||
<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="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="va">date</span>, <span class="fu"><a href="../reference/antibiotic_class_selectors.html">aminoglycosides</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> ℹ For aminoglycosides() using column 'GEN' (gentamicin)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,724 × 2</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,764 × 2</span></span></span>
|
||||
<span><span class="co">#> date GEN </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><sir></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> 2012-11-21 S </span></span>
|
||||
@ -538,100 +538,100 @@ in:</p>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> 2015-04-27 S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> 2011-06-21 S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> 2014-09-05 S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,714 more rows</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,754 more rows</span></span></span>
|
||||
<span></span>
|
||||
<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="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="va">bacteria</span>, <span class="fu"><a href="../reference/antibiotic_class_selectors.html">betalactams</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> ℹ For betalactams() using columns 'AMX' (amoxicillin) and 'AMC'</span></span>
|
||||
<span><span class="co">#> (amoxicillin/clavulanic acid)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,724 × 3</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,764 × 3</span></span></span>
|
||||
<span><span class="co">#> bacteria AMX AMC </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> B_ESCHR_COLI R I </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> B_ENTRC_CRTL R I </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> B_KLBSL_PNMN R I </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B_ESCHR_COLI S I </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B_ESCHR_COLI S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B_SMYCS_AURS R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> B_ESCHR_COLI R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> B_ESCHR_COLI S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> B_SMYCS_AURS S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> B_ESCHR_COLI S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> B_ESCHR_COLI S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,714 more rows</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B_ENTRC_CRTL S I </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B_ENTRC_CRTL S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B_STPHY_AURS R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> B_ENTRC_CRTL R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> B_ENTRC_CRTL S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> B_STPHY_AURS S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> B_ENTRC_CRTL S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> B_ENTRC_CRTL S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,754 more rows</span></span></span>
|
||||
<span></span>
|
||||
<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="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="va">bacteria</span>, <span class="fu"><a href="https://tidyselect.r-lib.org/reference/where.html" class="external-link">where</a></span><span class="op">(</span><span class="va">is.sir</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,724 × 5</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 2,764 × 5</span></span></span>
|
||||
<span><span class="co">#> bacteria AMX AMC CIP GEN </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> B_ESCHR_COLI R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> B_ENTRC_CRTL R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> B_KLBSL_PNMN R I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B_ESCHR_COLI S I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B_SMYCS_AURS R S R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> B_ESCHR_COLI R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> B_SMYCS_AURS S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> B_ESCHR_COLI S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,714 more rows</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B_ENTRC_CRTL S I S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B_STPHY_AURS R S R S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> B_ENTRC_CRTL R S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> B_STPHY_AURS S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> B_ENTRC_CRTL S S S S </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 2,754 more rows</span></span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># filtering using AB selectors is also possible:</span></span>
|
||||
<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="https://dplyr.tidyverse.org/reference/filter.html" class="external-link">filter</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/any.html" class="external-link">any</a></span><span class="op">(</span><span class="fu"><a href="../reference/antibiotic_class_selectors.html">aminoglycosides</a></span><span class="op">(</span><span class="op">)</span> <span class="op">==</span> <span class="st">"R"</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> ℹ For aminoglycosides() using column 'GEN' (gentamicin)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 1,007 × 9</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 983 × 9</span></span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP GEN first</span></span>
|
||||
<span><span class="co">#> <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;"><date></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><lgl></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> J5 A 2017-12-25 B_STRPT_PNMN R S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> X1 A 2017-07-04 B_SMYCS_AURS R S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B3 A 2016-07-24 B_ESCHR_COLI S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> V7 A 2012-04-03 B_ESCHR_COLI S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> C9 A 2017-03-23 B_ESCHR_COLI S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> R1 A 2018-06-10 B_SMYCS_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> X1 A 2017-07-04 B_STPHY_AURS R S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> B3 A 2016-07-24 B_ENTRC_CRTL S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> V7 A 2012-04-03 B_ENTRC_CRTL S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> C9 A 2017-03-23 B_ENTRC_CRTL S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> R1 A 2018-06-10 B_STPHY_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> S2 A 2013-07-19 B_STRPT_PNMN S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> P5 A 2019-03-09 B_SMYCS_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> Q8 A 2019-08-10 B_SMYCS_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> P5 A 2019-03-09 B_STPHY_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> Q8 A 2019-08-10 B_STPHY_AURS S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> K5 A 2013-03-15 B_STRPT_PNMN S S S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 997 more rows</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 973 more rows</span></span></span>
|
||||
<span></span>
|
||||
<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="https://dplyr.tidyverse.org/reference/filter.html" class="external-link">filter</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/all.html" class="external-link">all</a></span><span class="op">(</span><span class="fu"><a href="../reference/antibiotic_class_selectors.html">betalactams</a></span><span class="op">(</span><span class="op">)</span> <span class="op">==</span> <span class="st">"R"</span><span class="op">)</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> ℹ For betalactams() using columns 'AMX' (amoxicillin) and 'AMC'</span></span>
|
||||
<span><span class="co">#> (amoxicillin/clavulanic acid)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 479 × 9</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 464 × 9</span></span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP GEN first</span></span>
|
||||
<span><span class="co">#> <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;"><date></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><lgl></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> M7 A 2013-07-22 B_STRPT_PNMN R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R10 A 2013-12-20 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> R7 A 2015-10-25 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> R8 A 2019-10-25 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B6 A 2016-11-20 B_ESCHR_COLI R R R R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> I7 A 2015-08-19 B_ESCHR_COLI R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R10 A 2013-12-20 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> R7 A 2015-10-25 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> R8 A 2019-10-25 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B6 A 2016-11-20 B_ENTRC_CRTL R R R R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> I7 A 2015-08-19 B_ENTRC_CRTL R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> N3 A 2014-12-29 B_STRPT_PNMN R R R S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> Q2 A 2019-09-22 B_ESCHR_COLI R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> X7 A 2011-03-20 B_ESCHR_COLI R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> C5 A 2015-08-30 B_KLBSL_PNMN R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 469 more rows</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> Q2 A 2019-09-22 B_ENTRC_CRTL R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> X7 A 2011-03-20 B_ENTRC_CRTL R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> V1 A 2018-08-07 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 454 more rows</span></span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># even works in base R (since R 3.0):</span></span>
|
||||
<span><span class="va">our_data_1st</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/all.html" class="external-link">all</a></span><span class="op">(</span><span class="fu"><a href="../reference/antibiotic_class_selectors.html">betalactams</a></span><span class="op">(</span><span class="op">)</span> <span class="op">==</span> <span class="st">"R"</span><span class="op">)</span>, <span class="op">]</span></span>
|
||||
<span><span class="co">#> ℹ For betalactams() using columns 'AMX' (amoxicillin) and 'AMC'</span></span>
|
||||
<span><span class="co">#> (amoxicillin/clavulanic acid)</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 479 × 9</span></span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 464 × 9</span></span></span>
|
||||
<span><span class="co">#> patient_id hospital date bacteria AMX AMC CIP GEN first</span></span>
|
||||
<span><span class="co">#> <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;"><date></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><lgl></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 1</span> M7 A 2013-07-22 B_STRPT_PNMN R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R10 A 2013-12-20 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> R7 A 2015-10-25 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> R8 A 2019-10-25 B_SMYCS_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B6 A 2016-11-20 B_ESCHR_COLI R R R R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> I7 A 2015-08-19 B_ESCHR_COLI R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 2</span> R10 A 2013-12-20 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 3</span> R7 A 2015-10-25 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 4</span> R8 A 2019-10-25 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 5</span> B6 A 2016-11-20 B_ENTRC_CRTL R R R R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 6</span> I7 A 2015-08-19 B_ENTRC_CRTL R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 7</span> N3 A 2014-12-29 B_STRPT_PNMN R R R S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> Q2 A 2019-09-22 B_ESCHR_COLI R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> X7 A 2011-03-20 B_ESCHR_COLI R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> C5 A 2015-08-30 B_KLBSL_PNMN R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 469 more rows</span></span></span></code></pre></div>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 8</span> Q2 A 2019-09-22 B_ENTRC_CRTL R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;"> 9</span> X7 A 2011-03-20 B_ENTRC_CRTL R R S R TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">10</span> V1 A 2018-08-07 B_STPHY_AURS R R S S TRUE </span></span>
|
||||
<span><span class="co">#> <span style="color: #949494;"># ℹ 454 more rows</span></span></span></code></pre></div>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="generate-antibiograms">Generate antibiograms<a class="anchor" aria-label="anchor" href="#generate-antibiograms"></a>
|
||||
@ -1230,7 +1230,7 @@ I (<code><a href="../reference/proportion.html">proportion_SI()</a></code>, equa
|
||||
own:</p>
|
||||
<div class="sourceCode" id="cb22"><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 class="fu"><a href="../reference/proportion.html">resistance</a></span><span class="op">(</span><span class="va">AMX</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> [1] 0.4254772</span></span></code></pre></div>
|
||||
<span><span class="co">#> [1] 0.4175109</span></span></code></pre></div>
|
||||
<p>Or can be used in conjunction with <code><a href="https://dplyr.tidyverse.org/reference/group_by.html" class="external-link">group_by()</a></code> and
|
||||
<code><a href="https://dplyr.tidyverse.org/reference/summarise.html" class="external-link">summarise()</a></code>, both from the <code>dplyr</code> package:</p>
|
||||
<div class="sourceCode" id="cb23"><pre class="downlit sourceCode r">
|
||||
@ -1240,9 +1240,9 @@ own:</p>
|
||||
<span><span class="co">#> <span style="color: #949494;"># A tibble: 3 × 2</span></span></span>
|
||||
<span><span class="co">#> hospital amoxicillin</span></span>
|
||||
<span><span class="co">#> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span></span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> A 0.336</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> B 0.564</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> C 0.370</span></span></code></pre></div>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">1</span> A 0.342</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">2</span> B 0.551</span></span>
|
||||
<span><span class="co">#> <span style="color: #BCBCBC;">3</span> C 0.362</span></span></code></pre></div>
|
||||
<hr>
|
||||
<p><em>Author: Dr. Matthijs Berends, 26th Feb 2023</em></p>
|
||||
</div>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -84,7 +84,7 @@
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
||||
|
||||
<h4 data-toc-skip class="date">29 September 2024</h4>
|
||||
<h4 data-toc-skip class="date">30 September 2024</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>
|
||||
@ -116,7 +116,7 @@ column names:<br><em>mo</em>, <em>fullname</em>, <em>status</em>, <em>kingdom</e
|
||||
<em>snomed</em>.</p>
|
||||
<p>This data set is in R available as <code>microorganisms</code>, after
|
||||
you load the <code>AMR</code> package.</p>
|
||||
<p>It was last updated on 29 September 2024 20:17:56 UTC. Find more info
|
||||
<p>It was last updated on 30 September 2024 16:46:55 UTC. Find more info
|
||||
about the structure of this data set <a href="https://msberends.github.io/AMR/reference/microorganisms.html">here</a>.</p>
|
||||
<p><strong>Direct download links:</strong></p>
|
||||
<ul>
|
||||
@ -136,7 +136,7 @@ Feather file</a> (8.3 MB)<br>
|
||||
Parquet file</a> (3.8 MB)<br>
|
||||
</li>
|
||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/microorganisms.sav" class="external-link">IBM
|
||||
SPSS Statistics data file</a> (28.9 MB)<br>
|
||||
SPSS Statistics data file</a> (29 MB)<br>
|
||||
</li>
|
||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/microorganisms.dta" class="external-link">Stata
|
||||
DTA file</a> (92.5 MB)</li>
|
||||
@ -294,7 +294,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center"></td>
|
||||
<td align="center">11158430</td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.15</td>
|
||||
<td align="center">407310004, 407251000, 407281008, …</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
@ -322,7 +322,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.15</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
@ -350,7 +350,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center">5427575</td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.15</td>
|
||||
<td align="center">419388003</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
@ -378,7 +378,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.50</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
@ -406,7 +406,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center">11286021</td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.15</td>
|
||||
<td align="center">1095001000112106, 715307006, 737528008, …</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
@ -434,7 +434,7 @@ Set Name ‘Microorganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a hre
|
||||
<td align="center">12233256</td>
|
||||
<td align="center">11286021</td>
|
||||
<td align="center"></td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">1.15</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|
141
logo.svg
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 178 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -53,18 +53,18 @@
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 class="pkg-version" data-toc-text="2.1.1.9081" id="amr-2119081">AMR 2.1.1.9081<a class="anchor" aria-label="anchor" href="#amr-2119081"></a></h2>
|
||||
<h2 class="pkg-version" data-toc-text="2.1.1.9083" id="amr-2119083">AMR 2.1.1.9083<a class="anchor" aria-label="anchor" href="#amr-2119083"></a></h2>
|
||||
<p><em>(this beta version will eventually become v3.0. We’re happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using <a href="https://msberends.github.io/AMR/#latest-development-version">the instructions here</a>.)</em></p>
|
||||
<div class="section level5">
|
||||
<h5 id="a-new-milestone-amr-v30-with-one-health-support--human--veterinary--environmental-2-1-1-9081">A New Milestone: AMR v3.0 with One Health Support (= Human + Veterinary + Environmental)<a class="anchor" aria-label="anchor" href="#a-new-milestone-amr-v30-with-one-health-support--human--veterinary--environmental-2-1-1-9081"></a></h5>
|
||||
<h5 id="a-new-milestone-amr-v30-with-one-health-support--human--veterinary--environmental-2-1-1-9083">A New Milestone: AMR v3.0 with One Health Support (= Human + Veterinary + Environmental)<a class="anchor" aria-label="anchor" href="#a-new-milestone-amr-v30-with-one-health-support--human--veterinary--environmental-2-1-1-9083"></a></h5>
|
||||
<p>This package now supports not only tools for AMR data analysis in clinical settings, but also for veterinary and environmental microbiology. This was made possible through a collaboration with the <a href="https://www.upei.ca/avc" class="external-link">University of Prince Edward Island’s Atlantic Veterinary College</a>, Canada. To celebrate this great improvement of the package, we also updated the package logo to reflect this change.</p>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="breaking-2-1-1-9081">Breaking<a class="anchor" aria-label="anchor" href="#breaking-2-1-1-9081"></a></h3>
|
||||
<h3 id="breaking-2-1-1-9083">Breaking<a class="anchor" aria-label="anchor" href="#breaking-2-1-1-9083"></a></h3>
|
||||
<ul><li>Removed all functions and references that used the deprecated <code>rsi</code> class, which were all replaced with their <code>sir</code> equivalents over a year ago</li>
|
||||
</ul></div>
|
||||
<div class="section level3">
|
||||
<h3 id="new-2-1-1-9081">New<a class="anchor" aria-label="anchor" href="#new-2-1-1-9081"></a></h3>
|
||||
<h3 id="new-2-1-1-9083">New<a class="anchor" aria-label="anchor" href="#new-2-1-1-9083"></a></h3>
|
||||
<ul><li>
|
||||
<strong>One Health implementation</strong>
|
||||
<ul><li>Function <code><a href="../reference/as.sir.html">as.sir()</a></code> now has extensive support for veterinary breakpoints from CLSI. Use <code>breakpoint_type = "animal"</code> and set the <code>host</code> argument to a variable that contains animal species names.</li>
|
||||
@ -81,7 +81,7 @@
|
||||
<ul><li>MycoBank has now been integrated as the primary taxonomic source for fungi. The <code>microorganisms</code> data set has been enriched with new columns (<code>mycobank</code>, <code>mycobank_parent</code>, and <code>mycobank_renamed_to</code>) that provide detailed information for fungal species.</li>
|
||||
<li>A remarkable addition of over 20,000 new fungal records</li>
|
||||
<li>New function <code><a href="../reference/mo_property.html">mo_mycobank()</a></code> to retrieve the MycoBank record number, analogous to existing functions such as <code><a href="../reference/mo_property.html">mo_lpsn()</a></code> and <code><a href="../reference/mo_property.html">mo_gbif()</a></code>.</li>
|
||||
<li>The <code><a href="../reference/as.mo.html">as.mo()</a></code> function and all <code>mo_*()</code> functions now includes an <code>only_fungi</code> argument, allowing users to restrict results solely to fungal species. This ensures fungi are prioritised over bacteria during microorganism identification. This can also be set globally with the new <code>AMR_only_fungi</code> option.</li>
|
||||
<li>The <code><a href="../reference/as.mo.html">as.mo()</a></code> function and all <code>mo_*()</code> functions now include an <code>only_fungi</code> argument, allowing users to restrict results solely to fungal species. This ensures fungi are prioritised over bacteria during microorganism identification. This can also be set globally with the new <code>AMR_only_fungi</code> option.</li>
|
||||
<li>Also updated other kingdoms, welcoming a total of 2,149 new records from 2023 and 927 from 2024.</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
@ -101,7 +101,7 @@
|
||||
</ul></li>
|
||||
</ul></div>
|
||||
<div class="section level3">
|
||||
<h3 id="changed-2-1-1-9081">Changed<a class="anchor" aria-label="anchor" href="#changed-2-1-1-9081"></a></h3>
|
||||
<h3 id="changed-2-1-1-9083">Changed<a class="anchor" aria-label="anchor" href="#changed-2-1-1-9083"></a></h3>
|
||||
<ul><li>SIR interpretation
|
||||
<ul><li>It is now possible to use column names for argument <code>ab</code>, <code>mo</code>, and <code>uti</code>: <code>as.sir(..., ab = "column1", mo = "column2", uti = "column3")</code>. This greatly improves the flexibility for users.</li>
|
||||
<li>Users can now set their own criteria (using regular expressions) as to what should be considered S, I, R, SDD, and NI.</li>
|
||||
@ -129,12 +129,13 @@
|
||||
<li>Added new argument <code>keep_operators</code> to <code><a href="../reference/as.mic.html">as.mic()</a></code>. This can be <code>"all"</code> (default), <code>"none"</code>, or <code>"edges"</code>. This argument is also available in the new <code><a href="../reference/as.mic.html">rescale_mic()</a></code> and <code>scale_*_mic()</code> functions.</li>
|
||||
<li>Comparisons of MIC values are now more strict. For example, <code>>32</code> is higher than (and never equal to) <code>32</code>. Thus, <code>as.mic(">32") == as.mic(32)</code> now returns <code>FALSE</code>, and <code>as.mic(">32") > as.mic(32)</code> now returns <code>TRUE</code>.</li>
|
||||
<li>Sorting of MIC values (using <code><a href="https://rdrr.io/r/base/sort.html" class="external-link">sort()</a></code>) was fixed in the same manner; <code><0.001</code> now gets sorted before <code>0.001</code>, and <code>>0.001</code> gets sorted after <code>0.001</code>.</li>
|
||||
<li>Intermediate log2 levels used for MIC plotting are now more common values instead of following a strict dilution range</li>
|
||||
</ul></li>
|
||||
<li>Updated <code><a href="../reference/italicise_taxonomy.html">italicise_taxonomy()</a></code> to support HTML output</li>
|
||||
<li>
|
||||
<code><a href="../reference/custom_eucast_rules.html">custom_eucast_rules()</a></code> now supports multiple antibiotics and antibiotic groups to be affected by a single rule</li>
|
||||
<li>
|
||||
<code><a href="../reference/mo_property.html">mo_info()</a></code> now contains an extra element <code>group_members</code>, with the contents of the new <code><a href="../reference/mo_property.html">mo_group_members()</a></code> function</li>
|
||||
<code><a href="../reference/mo_property.html">mo_info()</a></code> now contains an extra element <code>rank</code> and <code>group_members</code> (with the contents of the new <code><a href="../reference/mo_property.html">mo_group_members()</a></code> function)</li>
|
||||
<li>Greatly improved <code>vctrs</code> integration, a Tidyverse package working in the background for many Tidyverse functions. For users, this means that functions such as <code>dplyr</code>’s <code><a href="https://dplyr.tidyverse.org/reference/bind_rows.html" class="external-link">bind_rows()</a></code>, <code><a href="https://dplyr.tidyverse.org/reference/rowwise.html" class="external-link">rowwise()</a></code> and <code><a href="https://dplyr.tidyverse.org/reference/c_across.html" class="external-link">c_across()</a></code> are now supported for e.g. columns of class <code>mic</code>. Despite this, this <code>AMR</code> package is still zero-dependent on any other package, including <code>dplyr</code> and <code>vctrs</code>.</li>
|
||||
<li>Updated all ATC codes from WHOCC</li>
|
||||
<li>Updated all antibiotic DDDs from WHOCC</li>
|
||||
@ -142,18 +143,22 @@
|
||||
</li>
|
||||
<li>Fix for mapping ‘high level’ antibiotics in <code><a href="../reference/as.ab.html">as.ab()</a></code> (amphotericin B-high, gentamicin-high, kanamycin-high, streptomycin-high, tobramycin-high)</li>
|
||||
<li>Improved overall algorithm of <code><a href="../reference/as.ab.html">as.ab()</a></code> for better performance and accuracy</li>
|
||||
<li>Improved overall algorithm of <code><a href="../reference/as.mo.html">as.mo()</a></code> for better performance and accuracy. Specifically, more weight is given to genus and species combinations in cases where the subspecies is miswritten, so that the result will be the correct genus and species.</li>
|
||||
<li>Intermediate log2 levels used for MIC plotting are now more common values instead of following a strict dilution range</li>
|
||||
<li>Improved overall algorithm of <code><a href="../reference/as.mo.html">as.mo()</a></code> for better performance and accuracy. Specifically:
|
||||
<ul><li>More weight is given to genus and species combinations in cases where the subspecies is miswritten, so that the result will be the correct genus and species</li>
|
||||
<li>Genera from the World Health Organization’s (WHO) Priority Pathogen List now have the highest prevalence</li>
|
||||
</ul></li>
|
||||
<li>Fixed a bug for when <code><a href="../reference/antibiogram.html">antibiogram()</a></code> returns an empty data set</li>
|
||||
<li>Updated the prevalence calculation to include genera from the World Health Organization’s (WHO) Priority Pathogen List</li>
|
||||
<li>Improved algorithm of <code><a href="../reference/first_isolate.html">first_isolate()</a></code> when using the phenotype-based method, to prioritise records with the highest availability of SIR values</li>
|
||||
</ul></div>
|
||||
<div class="section level3">
|
||||
<h3 id="other-2-1-1-9081">Other<a class="anchor" aria-label="anchor" href="#other-2-1-1-9081"></a></h3>
|
||||
<h3 id="other-2-1-1-9083">Other<a class="anchor" aria-label="anchor" href="#other-2-1-1-9083"></a></h3>
|
||||
<ul><li>Greatly updated and expanded documentation</li>
|
||||
<li>Added Jordan Stull, Matthew Saab, and Javier Sanchez as contributors, to thank them for their valuable input</li>
|
||||
<li>Added Larisse Bolton, Jordan Stull, Matthew Saab, and Javier Sanchez as contributors, to thank them for their valuable input</li>
|
||||
<li>Stopped support for SAS (<code>.xpt</code>) files, since their file structure and extremely inefficient and requires more disk space than GitHub allows in a single commit.</li>
|
||||
</ul></div>
|
||||
<div class="section level3">
|
||||
<h3 id="older-versions-2-1-1-9081">Older Versions<a class="anchor" aria-label="anchor" href="#older-versions-2-1-1-9081"></a></h3>
|
||||
<h3 id="older-versions-2-1-1-9083">Older Versions<a class="anchor" aria-label="anchor" href="#older-versions-2-1-1-9083"></a></h3>
|
||||
<p>This changelog only contains changes from AMR v3.0 (October 2024) and later.</p>
|
||||
<ul><li>For prior v2 versions, please see <a href="https://github.com/msberends/AMR/blob/v2.1.1/NEWS.md" class="external-link">our v2 archive</a>.</li>
|
||||
<li>For prior v1 versions, please see <a href="https://github.com/msberends/AMR/blob/v1.8.2/NEWS.md" class="external-link">our v1 archive</a>.</li>
|
||||
|
@ -11,7 +11,7 @@ articles:
|
||||
resistance_predict: resistance_predict.html
|
||||
welcome_to_AMR: welcome_to_AMR.html
|
||||
WHONET: WHONET.html
|
||||
last_built: 2024-09-29T20:22Z
|
||||
last_built: 2024-09-30T17:17Z
|
||||
urls:
|
||||
reference: https://msberends.github.io/AMR/reference
|
||||
article: https://msberends.github.io/AMR/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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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 @@ The AMR package is available in English, Chinese, Czech, Danish, Dutch, Finnish,
|
||||
|
||||
<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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -103,7 +103,13 @@
|
||||
<span class="r-in"><span><span class="co"># this will result in "Enterobacter cloacae cloacae",</span></span></span>
|
||||
<span class="r-in"><span><span class="co"># since it resembles the input best:</span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_name</a></span><span class="op">(</span><span class="st">"Enterobacter asburiae/cloacae"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Enterobacter asburiae"</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>No hits found for "Enterobacter asburiae/cloacae" with</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> minimum_matching_score = NULL (=0.538). Try setting this value lower or</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> even to 0.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>The following input could not be coerced and was returned as "UNKNOWN":</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> "Enterobacter asburiae/cloacae".</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> You can retrieve this list with mo_failures().</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "(unknown name)"</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># now add a custom entry - it will be considered by as.mo() and</span></span></span>
|
||||
<span class="r-in"><span><span class="co"># all mo_*() functions</span></span></span>
|
||||
@ -231,11 +237,26 @@
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Added Citrobacter braakii complex and Citrobacter freundii complex to the</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> internal microorganisms data set.</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_name</a></span><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">"C. freundii complex"</span>, <span class="st">"C. braakii complex"</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Citrobacter freundii complex" "Citrobacter braakii complex" </span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>No hits found for "C. freundii complex" with minimum_matching_score = NULL</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> (=0.16). Try setting this value lower or even to 0.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>The following input could not be coerced and was returned as "UNKNOWN": "C.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> freundii complex".</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> You can retrieve this list with mo_failures().</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "(unknown name)" "Citrobacter braakii complex"</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_species</a></span><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">"C. freundii complex"</span>, <span class="st">"C. braakii complex"</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "freundii complex" "braakii complex" </span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>No hits found for "C. freundii complex" with minimum_matching_score = NULL</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> (=0.16). Try setting this value lower or even to 0.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>The following input could not be coerced and was returned as "UNKNOWN": "C.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> freundii complex".</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> You can retrieve this list with mo_failures().</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "(unknown species)" "braakii complex" </span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_gramstain</a></span><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">"C. freundii complex"</span>, <span class="st">"C. braakii complex"</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Gram-negative" "Gram-negative"</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>No hits found for "C. freundii complex" with minimum_matching_score = NULL</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> (=0.16). Try setting this value lower or even to 0.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>The following input could not be coerced and was returned as "UNKNOWN": "C.</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> freundii complex".</span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> You can retrieve this list with mo_failures().</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] NA "Gram-negative"</span>
|
||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -116,16 +116,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 1965-12-05 58 58.81694 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1980-03-01 44 44.57923 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1949-11-01 74 74.90984 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1947-02-14 77 77.62295 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1940-02-19 84 84.60929 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1988-01-10 36 36.71858 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1997-08-27 27 27.09016 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1978-01-26 46 46.67486 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1972-06-17 52 52.28415 27</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1986-08-10 38 38.13661 13</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1965-12-05 58 58.81967 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1980-03-01 44 44.58197 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1949-11-01 74 74.91257 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1947-02-14 77 77.62568 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1940-02-19 84 84.61202 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1988-01-10 36 36.72131 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1997-08-27 27 27.09290 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1978-01-26 46 46.67760 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1972-06-17 52 52.28689 27</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1986-08-10 38 38.13934 13</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 43 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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 @@ In short, if you have a column name that resembles an antimicrobial drug, it wil
|
||||
|
||||
<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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -415,9 +415,9 @@ In short, if you have a column name that resembles an antimicrobial drug, it wil
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 3 × 3</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> ward TMP SXT</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><dbl></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 0.627 0.807</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 0.551 0.780</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 0.667 0.821</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 0.627 0.806</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 0.556 0.784</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 0.675 0.825</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://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||
<span class="r-in"><span> <span class="co"># this will select columns 'IPM' (imipenem) and 'MEM' (meropenem):</span></span></span>
|
||||
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -138,7 +138,7 @@
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Interpreting disk diffusion zones: 'ampicillin' (AMP), EUCAST 2024...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] <NA></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] R</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># interpret whole data set, pretend to be all from urinary tract infections:</span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="as.sir.html">as.sir</a></span><span class="op">(</span><span class="va">df</span>, uti <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 45 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -239,17 +239,18 @@
|
||||
<li><p>\(l_n\) is the length of \(n\);</p></li>
|
||||
<li><p>\(lev\) is the <a href="https://en.wikipedia.org/wiki/Levenshtein_distance" class="external-link">Levenshtein distance function</a> (counting any insertion as 1, and any deletion or substitution as 2) that is needed to change \(x\) into \(n\);</p></li>
|
||||
<li><p>\(p_n\) is the human pathogenic prevalence group of \(n\), as described below;</p></li>
|
||||
<li><p>\(k_n\) is the taxonomic kingdom of \(n\), set as Bacteria = 1, Fungi = 1.25, Protozoa = 1.5, Archaea = 2, others = 3.</p></li>
|
||||
<li><p>\(k_n\) is the taxonomic kingdom of \(n\), set as Bacteria = 1, Fungi = 1.25, Protozoa = 1.5, Chromista = 1.75, Archaea = 2, others = 3.</p></li>
|
||||
</ul><p>The grouping into human pathogenic prevalence \(p\) is based on recent work from Bartlett <em>et al.</em> (2022, <a href="https://doi.org/10.1099/mic.0.001269" class="external-link">doi:10.1099/mic.0.001269</a>
|
||||
) who extensively studied medical-scientific literature to categorise all bacterial species into these groups:</p><ul><li><p><strong>Established</strong>, if a taxonomic species has infected at least three persons in three or more references. These records have <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
) who extensively studied medical-scientific literature to categorise all bacterial species into these groups:</p><ul><li><p><strong>Established</strong>, if a taxonomic species has infected at least three persons in three or more references. These records have <code>prevalence = 1.15</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p><strong>Putative</strong>, if a taxonomic species has fewer than three known cases. These records have <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set.</p></li>
|
||||
</ul><p>Furthermore,</p><ul><li><p>Any genus present in the <strong>established</strong> list also has <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
</ul><p>Furthermore,</p><ul><li><p>Genera from the World Health Organization's (WHO) Priority Pathogen List have <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any genus present in the <strong>established</strong> list also has <code>prevalence = 1.15</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any other genus present in the <strong>putative</strong> list has <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any other species or subspecies of which the genus is present in the two aforementioned groups, has <code>prevalence = 1.5</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any <em>non-bacterial</em> genus, species or subspecies of which the genus is present in the following list, has <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set: <em>Absidia</em>, <em>Acanthamoeba</em>, <em>Acremonium</em>, <em>Actinomucor</em>, <em>Aedes</em>, <em>Alternaria</em>, <em>Amoeba</em>, <em>Ancylostoma</em>, <em>Angiostrongylus</em>, <em>Anisakis</em>, <em>Anopheles</em>, <em>Apophysomyces</em>, <em>Arthroderma</em>, <em>Aspergillus</em>, <em>Aureobasidium</em>, <em>Basidiobolus</em>, <em>Beauveria</em>, <em>Bipolaris</em>, <em>Blastobotrys</em>, <em>Blastocystis</em>, <em>Blastomyces</em>, <em>Candida</em>, <em>Capillaria</em>, <em>Chaetomium</em>, <em>Chilomastix</em>, <em>Chrysonilia</em>, <em>Chrysosporium</em>, <em>Cladophialophora</em>, <em>Cladosporium</em>, <em>Clavispora</em>, <em>Coccidioides</em>, <em>Cokeromyces</em>, <em>Conidiobolus</em>, <em>Coniochaeta</em>, <em>Contracaecum</em>, <em>Cordylobia</em>, <em>Cryptococcus</em>, <em>Cryptosporidium</em>, <em>Cunninghamella</em>, <em>Curvularia</em>, <em>Cyberlindnera</em>, <em>Debaryozyma</em>, <em>Demodex</em>, <em>Dermatobia</em>, <em>Dientamoeba</em>, <em>Diphyllobothrium</em>, <em>Dirofilaria</em>, <em>Echinostoma</em>, <em>Entamoeba</em>, <em>Enterobius</em>, <em>Epidermophyton</em>, <em>Exidia</em>, <em>Exophiala</em>, <em>Exserohilum</em>, <em>Fasciola</em>, <em>Fonsecaea</em>, <em>Fusarium</em>, <em>Geotrichum</em>, <em>Giardia</em>, <em>Graphium</em>, <em>Haloarcula</em>, <em>Halobacterium</em>, <em>Halococcus</em>, <em>Hansenula</em>, <em>Hendersonula</em>, <em>Heterophyes</em>, <em>Histomonas</em>, <em>Histoplasma</em>, <em>Hortaea</em>, <em>Hymenolepis</em>, <em>Hypomyces</em>, <em>Hysterothylacium</em>, <em>Kloeckera</em>, <em>Kluyveromyces</em>, <em>Kodamaea</em>, <em>Lacazia</em>, <em>Leishmania</em>, <em>Lichtheimia</em>, <em>Lodderomyces</em>, <em>Lomentospora</em>, <em>Madurella</em>, <em>Malassezia</em>, <em>Malbranchea</em>, <em>Metagonimus</em>, <em>Meyerozyma</em>, <em>Microsporidium</em>, <em>Microsporum</em>, <em>Millerozyma</em>, <em>Mortierella</em>, <em>Mucor</em>, <em>Mycocentrospora</em>, <em>Nannizzia</em>, <em>Necator</em>, <em>Nectria</em>, <em>Ochroconis</em>, <em>Oesophagostomum</em>, <em>Oidiodendron</em>, <em>Opisthorchis</em>, <em>Paecilomyces</em>, <em>Paracoccidioides</em>, <em>Pediculus</em>, <em>Penicillium</em>, <em>Phaeoacremonium</em>, <em>Phaeomoniella</em>, <em>Phialophora</em>, <em>Phlebotomus</em>, <em>Phoma</em>, <em>Pichia</em>, <em>Piedraia</em>, <em>Pithomyces</em>, <em>Pityrosporum</em>, <em>Pneumocystis</em>, <em>Pseudallescheria</em>, <em>Pseudoscopulariopsis</em>, <em>Pseudoterranova</em>, <em>Pulex</em>, <em>Purpureocillium</em>, <em>Quambalaria</em>, <em>Rhinocladiella</em>, <em>Rhizomucor</em>, <em>Rhizopus</em>, <em>Rhodotorula</em>, <em>Saccharomyces</em>, <em>Saksenaea</em>, <em>Saprochaete</em>, <em>Sarcoptes</em>, <em>Scedosporium</em>, <em>Schistosoma</em>, <em>Schizosaccharomyces</em>, <em>Scolecobasidium</em>, <em>Scopulariopsis</em>, <em>Scytalidium</em>, <em>Spirometra</em>, <em>Sporobolomyces</em>, <em>Sporopachydermia</em>, <em>Sporothrix</em>, <em>Sporotrichum</em>, <em>Stachybotrys</em>, <em>Strongyloides</em>, <em>Syncephalastrum</em>, <em>Syngamus</em>, <em>Taenia</em>, <em>Talaromyces</em>, <em>Teleomorph</em>, <em>Toxocara</em>, <em>Trichinella</em>, <em>Trichobilharzia</em>, <em>Trichoderma</em>, <em>Trichomonas</em>, <em>Trichophyton</em>, <em>Trichosporon</em>, <em>Trichostrongylus</em>, <em>Trichuris</em>, <em>Tritirachium</em>, <em>Trombicula</em>, <em>Trypanosoma</em>, <em>Tunga</em>, <em>Ulocladium</em>, <em>Ustilago</em>, <em>Verticillium</em>, <em>Wallemia</em>, <em>Wangiella</em>, <em>Wickerhamomyces</em>, <em>Wuchereria</em>, <em>Yarrowia</em>, or <em>Zygosaccharomyces</em>;</p></li>
|
||||
<li><p>All other records have <code>prevalence = 2.0</code> in the <a href="microorganisms.html">microorganisms</a> data set.</p></li>
|
||||
</ul><p>When calculating the matching score, all characters in \(x\) and \(n\) are ignored that are other than A-Z, a-z, 0-9, spaces and parentheses.</p>
|
||||
<p>All matches are sorted descending on their matching score and for all user input values, the top match will be returned. This will lead to the effect that e.g., <code>"E. coli"</code> will return the microbial ID of <em>Escherichia coli</em> (\(m = 0.688\), a highly prevalent microorganism found in humans) and not <em>Entamoeba coli</em> (\(m = 0.381\), a less prevalent microorganism in humans), although the latter would alphabetically come first.</p>
|
||||
<p>All matches are sorted descending on their matching score and for all user input values, the top match will be returned. This will lead to the effect that e.g., <code>"E. coli"</code> will return the microbial ID of <em>Escherichia coli</em> (\(m = 0.598\), a highly prevalent microorganism found in humans) and not <em>Entamoeba coli</em> (\(m = 0.381\), a less prevalent microorganism in humans), although the latter would alphabetically come first.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="reference-data-publicly-available">Reference Data Publicly Available<a class="anchor" aria-label="anchor" href="#reference-data-publicly-available"></a></h2>
|
||||
@ -282,8 +283,8 @@
|
||||
<span class="r-in"><span> <span class="fl">115329001</span> <span class="co"># SNOMED CT code</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mo'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] B_STPHY_AURS B_SMYCS_AURS B_SMYCS_AURS B_STPHY_AURS B_SMYCS_AURS</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [6] B_SMYCS_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [6] B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS B_STPHY_AURS</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [11] B_STPHY_AURS B_STPHY_AURS</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># Dyslexia is no problem - these all work:</span></span></span>
|
||||
@ -321,7 +322,7 @@
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># All mo_* functions use as.mo() internally too (see ?mo_property):</span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_genus</a></span><span class="op">(</span><span class="st">"E. coli"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Escherichia"</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Enterococcus"</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_gramstain</a></span><span class="op">(</span><span class="st">"ESCO"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Gram-negative"</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="mo_property.html">mo_is_intrinsic_resistant</a></span><span class="op">(</span><span class="st">"ESCCOL"</span>, ab <span class="op">=</span> <span class="st">"vanco"</span><span class="op">)</span></span></span>
|
||||
|
@ -21,7 +21,7 @@ All breakpoints used for interpretation are available in our clinical_breakpoint
|
||||
|
||||
<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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -757,7 +757,7 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 2024...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> microorganism amoxicillin cipro tobra genta ERY</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 Escherichia coli 8 <NA> S S R</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 Escherichia coli 8 S <NA> <NA> R</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co">## Using base R ------------------------------------------------</span></span></span>
|
||||
@ -791,16 +791,16 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 57 × 16</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_given mo_given host_given ab mo </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">*</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;"><ab></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2024-09-29 <span style="color: #949494;">20:23:11</span> 4 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2024-09-29 <span style="color: #949494;">20:23:18</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2024-09-29 <span style="color: #949494;">20:23:18</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2024-09-29 <span style="color: #949494;">20:23:19</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2024-09-29 <span style="color: #949494;">20:23:19</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2024-09-29 <span style="color: #949494;">20:23:11</span> 3 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2024-09-29 <span style="color: #949494;">20:23:18</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2024-09-29 <span style="color: #949494;">20:23:18</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2024-09-29 <span style="color: #949494;">20:23:19</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2024-09-29 <span style="color: #949494;">20:23:19</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2024-09-30 <span style="color: #949494;">17:18:24</span> 4 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2024-09-30 <span style="color: #949494;">17:18:32</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2024-09-30 <span style="color: #949494;">17:18:24</span> 3 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2024-09-30 <span style="color: #949494;">17:18:31</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2024-09-30 <span style="color: #949494;">17:18:32</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 47 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 9 more variables: host <chr>, method <chr>, input <dbl>, outcome <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,</span></span>
|
||||
@ -834,7 +834,7 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Interpreting disk diffusion zones: 'ampicillin' (AMP), EUCAST 2024...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] <NA></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] R</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="co"># For CLEANING existing SIR values ------------------------------------</span></span></span>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
|
||||
|
||||
<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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -255,22 +255,22 @@
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Basing inclusion on all antimicrobial results, using a points threshold</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> of 2</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Excluding 16 isolates with a microbial ID 'UNKNOWN' (in column 'mo')</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 1,373 'phenotype-based' first isolates (68.7% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 1,387 'phenotype-based' first isolates (69.4% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> microbial ID was available)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,373 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,387 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2002-01-02 A77334 65 F Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2002-01-07 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2002-01-14 462729 78 M Clinical B_STPHY_AURS R NA S R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-05 023456 50 M Clinical B_STPHY_HMNS S NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,363 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-16 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,377 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
||||
@ -281,7 +281,7 @@
|
||||
<span class="r-in"><span><span class="co"># get all first Gram-negatives</span></span></span>
|
||||
<span class="r-in"><span><span class="va">example_isolates</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/which.html" class="external-link">which</a></span><span class="op">(</span><span class="fu">first_isolate</span><span class="op">(</span>info <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span> <span class="op">&</span> <span class="fu"><a href="mo_property.html">mo_is_gram_negative</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Using column 'mo' as input for mo_is_gram_negative()</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 434 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 441 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2002-01-02 A77334 65 F Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
@ -294,7 +294,7 @@
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-03-16 4FC193 69 M Clinical B_PSDMN_AERG R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-04-01 496896 46 F ICU B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-04-23 EE2510 69 F ICU B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 424 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 431 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
||||
@ -311,22 +311,22 @@
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Basing inclusion on all antimicrobial results, using a points threshold</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> of 2</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Excluding 16 isolates with a microbial ID 'UNKNOWN' (in column 'mo')</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 1,373 'phenotype-based' first isolates (68.7% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 1,387 'phenotype-based' first isolates (69.4% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> microbial ID was available)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,373 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,387 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2002-01-02 A77334 65 F Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2002-01-07 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2002-01-14 462729 78 M Clinical B_STPHY_AURS R NA S R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-05 023456 50 M Clinical B_STPHY_HMNS S NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,363 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-16 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,377 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
||||
@ -338,20 +338,20 @@
|
||||
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||
<span class="r-in"><span> <span class="fu">filter_first_isolate</span><span class="op">(</span>info <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,373 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1,387 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2002-01-02 A77334 65 F Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2002-01-07 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2002-01-14 462729 78 M Clinical B_STPHY_AURS R NA S R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-05 023456 50 M Clinical B_STPHY_HMNS S NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,363 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2002-01-16 067927 45 F ICU B_STPHY_EPDR R NA R NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2002-01-17 858515 79 F ICU B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2002-01-17 495616 67 M Clinical B_STPHY_EPDR R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2002-01-19 738003 71 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2002-01-21 462081 75 F Clinical B_CTRBC_FRND R NA NA R </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2002-01-22 F35553 50 M ICU B_PROTS_MRBL R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2002-02-03 481442 76 M ICU B_STPHY_CONS R NA S NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,377 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
||||
@ -371,17 +371,17 @@
|
||||
<span class="r-msg co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Group: ward = "Clinical"</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Excluding 9 isolates with a microbial ID 'UNKNOWN' (in column 'mo')</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 857 'phenotype-based' first isolates (69.4% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 865 'phenotype-based' first isolates (70.1% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> microbial ID was available)</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Group: ward = "ICU"</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Excluding 6 isolates with a microbial ID 'UNKNOWN' (in column 'mo')</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 447 'phenotype-based' first isolates (69.2% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 452 'phenotype-based' first isolates (70.0% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> microbial ID was available)</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Group: ward = "Outpatient"</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Excluding 1 isolates with a microbial ID 'UNKNOWN' (in column 'mo')</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 98 'phenotype-based' first isolates (81.7% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Found 99 'phenotype-based' first isolates (82.5% of total where a</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> microbial ID was available)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 2,000 × 5</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward [3]</span></span>
|
||||
@ -395,7 +395,7 @@
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> ICU 2002-01-13 067927 B_STPHY_EPDR FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2002-01-14 462729 B_STPHY_AURS TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> Clinical 2002-01-14 462729 B_STPHY_AURS FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> ICU 2002-01-16 067927 B_STPHY_EPDR FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> ICU 2002-01-16 067927 B_STPHY_EPDR TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> ICU 2002-01-17 858515 B_STPHY_EPDR TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 1,990 more rows</span></span>
|
||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 36 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -207,7 +207,7 @@
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="va">my_patients</span><span class="op">$</span><span class="va">first_regular</span>, na.rm <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="va">my_patients</span><span class="op">$</span><span class="va">first_weighted</span>, na.rm <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1376</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1383</span>
|
||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -76,10 +76,10 @@
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="note">Note<a class="anchor" aria-label="anchor" href="#note"></a></h2>
|
||||
<p>This algorithm was originally described in: Berends MS <em>et al.</em> (2022). <strong>AMR: An R Package for Working with Antimicrobial Resistance Data</strong>. <em>Journal of Statistical Software</em>, 104(3), 1-31; <a href="https://doi.org/10.18637/jss.v104.i03" class="external-link">doi:10.18637/jss.v104.i03</a>
|
||||
<p>This algorithm was originally developed in 2018 and subsequently described in: Berends MS <em>et al.</em> (2022). <strong>AMR: An R Package for Working with Antimicrobial Resistance Data</strong>. <em>Journal of Statistical Software</em>, 104(3), 1-31; <a href="https://doi.org/10.18637/jss.v104.i03" class="external-link">doi:10.18637/jss.v104.i03</a>
|
||||
.</p>
|
||||
<p>Later, the work of Bartlett A <em>et al.</em> about bacterial pathogens infecting humans (2022, <a href="https://doi.org/10.1099/mic.0.001269" class="external-link">doi:10.1099/mic.0.001269</a>
|
||||
) was incorporated.</p>
|
||||
) was incorporated, and optimalisations to the algorithm were made.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="matching-score-for-microorganisms">Matching Score for Microorganisms<a class="anchor" aria-label="anchor" href="#matching-score-for-microorganisms"></a></h2>
|
||||
@ -92,17 +92,18 @@
|
||||
<li><p>\(l_n\) is the length of \(n\);</p></li>
|
||||
<li><p>\(lev\) is the <a href="https://en.wikipedia.org/wiki/Levenshtein_distance" class="external-link">Levenshtein distance function</a> (counting any insertion as 1, and any deletion or substitution as 2) that is needed to change \(x\) into \(n\);</p></li>
|
||||
<li><p>\(p_n\) is the human pathogenic prevalence group of \(n\), as described below;</p></li>
|
||||
<li><p>\(k_n\) is the taxonomic kingdom of \(n\), set as Bacteria = 1, Fungi = 1.25, Protozoa = 1.5, Archaea = 2, others = 3.</p></li>
|
||||
<li><p>\(k_n\) is the taxonomic kingdom of \(n\), set as Bacteria = 1, Fungi = 1.25, Protozoa = 1.5, Chromista = 1.75, Archaea = 2, others = 3.</p></li>
|
||||
</ul><p>The grouping into human pathogenic prevalence \(p\) is based on recent work from Bartlett <em>et al.</em> (2022, <a href="https://doi.org/10.1099/mic.0.001269" class="external-link">doi:10.1099/mic.0.001269</a>
|
||||
) who extensively studied medical-scientific literature to categorise all bacterial species into these groups:</p><ul><li><p><strong>Established</strong>, if a taxonomic species has infected at least three persons in three or more references. These records have <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
) who extensively studied medical-scientific literature to categorise all bacterial species into these groups:</p><ul><li><p><strong>Established</strong>, if a taxonomic species has infected at least three persons in three or more references. These records have <code>prevalence = 1.15</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p><strong>Putative</strong>, if a taxonomic species has fewer than three known cases. These records have <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set.</p></li>
|
||||
</ul><p>Furthermore,</p><ul><li><p>Any genus present in the <strong>established</strong> list also has <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
</ul><p>Furthermore,</p><ul><li><p>Genera from the World Health Organization's (WHO) Priority Pathogen List have <code>prevalence = 1.0</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any genus present in the <strong>established</strong> list also has <code>prevalence = 1.15</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any other genus present in the <strong>putative</strong> list has <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any other species or subspecies of which the genus is present in the two aforementioned groups, has <code>prevalence = 1.5</code> in the <a href="microorganisms.html">microorganisms</a> data set;</p></li>
|
||||
<li><p>Any <em>non-bacterial</em> genus, species or subspecies of which the genus is present in the following list, has <code>prevalence = 1.25</code> in the <a href="microorganisms.html">microorganisms</a> data set: <em>Absidia</em>, <em>Acanthamoeba</em>, <em>Acremonium</em>, <em>Actinomucor</em>, <em>Aedes</em>, <em>Alternaria</em>, <em>Amoeba</em>, <em>Ancylostoma</em>, <em>Angiostrongylus</em>, <em>Anisakis</em>, <em>Anopheles</em>, <em>Apophysomyces</em>, <em>Arthroderma</em>, <em>Aspergillus</em>, <em>Aureobasidium</em>, <em>Basidiobolus</em>, <em>Beauveria</em>, <em>Bipolaris</em>, <em>Blastobotrys</em>, <em>Blastocystis</em>, <em>Blastomyces</em>, <em>Candida</em>, <em>Capillaria</em>, <em>Chaetomium</em>, <em>Chilomastix</em>, <em>Chrysonilia</em>, <em>Chrysosporium</em>, <em>Cladophialophora</em>, <em>Cladosporium</em>, <em>Clavispora</em>, <em>Coccidioides</em>, <em>Cokeromyces</em>, <em>Conidiobolus</em>, <em>Coniochaeta</em>, <em>Contracaecum</em>, <em>Cordylobia</em>, <em>Cryptococcus</em>, <em>Cryptosporidium</em>, <em>Cunninghamella</em>, <em>Curvularia</em>, <em>Cyberlindnera</em>, <em>Debaryozyma</em>, <em>Demodex</em>, <em>Dermatobia</em>, <em>Dientamoeba</em>, <em>Diphyllobothrium</em>, <em>Dirofilaria</em>, <em>Echinostoma</em>, <em>Entamoeba</em>, <em>Enterobius</em>, <em>Epidermophyton</em>, <em>Exidia</em>, <em>Exophiala</em>, <em>Exserohilum</em>, <em>Fasciola</em>, <em>Fonsecaea</em>, <em>Fusarium</em>, <em>Geotrichum</em>, <em>Giardia</em>, <em>Graphium</em>, <em>Haloarcula</em>, <em>Halobacterium</em>, <em>Halococcus</em>, <em>Hansenula</em>, <em>Hendersonula</em>, <em>Heterophyes</em>, <em>Histomonas</em>, <em>Histoplasma</em>, <em>Hortaea</em>, <em>Hymenolepis</em>, <em>Hypomyces</em>, <em>Hysterothylacium</em>, <em>Kloeckera</em>, <em>Kluyveromyces</em>, <em>Kodamaea</em>, <em>Lacazia</em>, <em>Leishmania</em>, <em>Lichtheimia</em>, <em>Lodderomyces</em>, <em>Lomentospora</em>, <em>Madurella</em>, <em>Malassezia</em>, <em>Malbranchea</em>, <em>Metagonimus</em>, <em>Meyerozyma</em>, <em>Microsporidium</em>, <em>Microsporum</em>, <em>Millerozyma</em>, <em>Mortierella</em>, <em>Mucor</em>, <em>Mycocentrospora</em>, <em>Nannizzia</em>, <em>Necator</em>, <em>Nectria</em>, <em>Ochroconis</em>, <em>Oesophagostomum</em>, <em>Oidiodendron</em>, <em>Opisthorchis</em>, <em>Paecilomyces</em>, <em>Paracoccidioides</em>, <em>Pediculus</em>, <em>Penicillium</em>, <em>Phaeoacremonium</em>, <em>Phaeomoniella</em>, <em>Phialophora</em>, <em>Phlebotomus</em>, <em>Phoma</em>, <em>Pichia</em>, <em>Piedraia</em>, <em>Pithomyces</em>, <em>Pityrosporum</em>, <em>Pneumocystis</em>, <em>Pseudallescheria</em>, <em>Pseudoscopulariopsis</em>, <em>Pseudoterranova</em>, <em>Pulex</em>, <em>Purpureocillium</em>, <em>Quambalaria</em>, <em>Rhinocladiella</em>, <em>Rhizomucor</em>, <em>Rhizopus</em>, <em>Rhodotorula</em>, <em>Saccharomyces</em>, <em>Saksenaea</em>, <em>Saprochaete</em>, <em>Sarcoptes</em>, <em>Scedosporium</em>, <em>Schistosoma</em>, <em>Schizosaccharomyces</em>, <em>Scolecobasidium</em>, <em>Scopulariopsis</em>, <em>Scytalidium</em>, <em>Spirometra</em>, <em>Sporobolomyces</em>, <em>Sporopachydermia</em>, <em>Sporothrix</em>, <em>Sporotrichum</em>, <em>Stachybotrys</em>, <em>Strongyloides</em>, <em>Syncephalastrum</em>, <em>Syngamus</em>, <em>Taenia</em>, <em>Talaromyces</em>, <em>Teleomorph</em>, <em>Toxocara</em>, <em>Trichinella</em>, <em>Trichobilharzia</em>, <em>Trichoderma</em>, <em>Trichomonas</em>, <em>Trichophyton</em>, <em>Trichosporon</em>, <em>Trichostrongylus</em>, <em>Trichuris</em>, <em>Tritirachium</em>, <em>Trombicula</em>, <em>Trypanosoma</em>, <em>Tunga</em>, <em>Ulocladium</em>, <em>Ustilago</em>, <em>Verticillium</em>, <em>Wallemia</em>, <em>Wangiella</em>, <em>Wickerhamomyces</em>, <em>Wuchereria</em>, <em>Yarrowia</em>, or <em>Zygosaccharomyces</em>;</p></li>
|
||||
<li><p>All other records have <code>prevalence = 2.0</code> in the <a href="microorganisms.html">microorganisms</a> data set.</p></li>
|
||||
</ul><p>When calculating the matching score, all characters in \(x\) and \(n\) are ignored that are other than A-Z, a-z, 0-9, spaces and parentheses.</p>
|
||||
<p>All matches are sorted descending on their matching score and for all user input values, the top match will be returned. This will lead to the effect that e.g., <code>"E. coli"</code> will return the microbial ID of <em>Escherichia coli</em> (\(m = 0.688\), a highly prevalent microorganism found in humans) and not <em>Entamoeba coli</em> (\(m = 0.381\), a less prevalent microorganism in humans), although the latter would alphabetically come first.</p>
|
||||
<p>All matches are sorted descending on their matching score and for all user input values, the top match will be returned. This will lead to the effect that e.g., <code>"E. coli"</code> will return the microbial ID of <em>Escherichia coli</em> (\(m = 0.598\), a highly prevalent microorganism found in humans) and not <em>Entamoeba coli</em> (\(m = 0.381\), a less prevalent microorganism in humans), although the latter would alphabetically come first.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="reference-data-publicly-available">Reference Data Publicly Available<a class="anchor" aria-label="anchor" href="#reference-data-publicly-available"></a></h2>
|
||||
@ -110,30 +111,26 @@
|
||||
|
||||
<p>All data sets in this <code>AMR</code> package (about microorganisms, antibiotics, SIR interpretation, EUCAST rules, etc.) are publicly and freely available for download in the following formats: R, MS Excel, Apache Feather, Apache Parquet, SPSS, and Stata. We also provide tab-separated plain text files that are machine-readable and suitable for input in any software program, such as laboratory information systems. Please visit <a href="https://msberends.github.io/AMR/articles/datasets.html">our website for the download links</a>. The actual files are of course available on <a href="https://github.com/msberends/AMR/tree/main/data-raw" class="external-link">our GitHub repository</a>.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="author">Author<a class="anchor" aria-label="anchor" href="#author"></a></h2>
|
||||
<p>Dr. Matthijs Berends, 2018</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="as.mo.html">mo_reset_session</a></span><span class="op">(</span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Reset 17 previously matched input values.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Reset 16 previously matched input values.</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="as.mo.html">as.mo</a></span><span class="op">(</span><span class="st">"E. coli"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mo'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] B_ESCHR_COLI</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] B_ENTRC_CRTL</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="as.mo.html">mo_uncertainties</a></span><span class="op">(</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Matching scores are based on the resemblance between the input and the full</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> taxonomic name, and the pathogenicity in humans. See ?mo_matching_score.</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> --------------------------------------------------------------------------------</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> "E. coli" -> Escherichia coli (B_ESCHR_COLI, 0.688)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Also matched: Enterococcus crotali (0.650), Escherichia coli coli</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (0.643), Escherichia coli expressing (0.611), Erwinia coffeiphila</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (0.605), Eubacterium coprostanoligenes (0.603), Enterobacter cowanii</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (0.600), Eubacterium combesii (0.600), Enterococcus columbae (0.595),</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Eggerthia catenaformis (0.591), and Enterococcus camelliae (0.591)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> "E. coli" -> Enterococcus crotali (B_ENTRC_CRTL, 0.650)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Also matched: Escherichia coli (0.598), Enterococcus columbae (0.595),</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Enterococcus camelliae (0.591), Enterococcus casseliflavus (0.577),</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Escherichia coli coli (0.559), Enterococcus canis (0.556), Enterococcus</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> cecorum (0.550), Enterococcus canintestini (0.540), Escherichia coli</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> expressing (0.531), and Enterobacter cowanii (0.522)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Only the first 10 other matches of each record are shown. Run</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> print(mo_uncertainties(), n = ...) to view more entries, or save</span>
|
||||
@ -143,7 +140,7 @@
|
||||
<span class="r-in"><span> x <span class="op">=</span> <span class="st">"E. coli"</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="st">"Escherichia coli"</span>, <span class="st">"Entamoeba coli"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.6875000 0.3809524</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.5978261 0.3809524</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,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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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 @@ 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 71 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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
@ -243,14 +243,14 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Coefficients:</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Estimate Std. Error z value Pr(>|z|)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (Intercept) 27.05312 72.24652 0.374 0.708</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> year -0.01286 0.03601 -0.357 0.721</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (Intercept) 35.76101 72.29172 0.495 0.621</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> year -0.01720 0.03603 -0.477 0.633</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> (Dispersion parameter for binomial family taken to be 1)</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Null deviance: 5.7883 on 11 degrees of freedom</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Residual deviance: 5.6608 on 10 degrees of freedom</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> AIC: 50.745</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Null deviance: 5.3681 on 11 degrees of freedom</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Residual deviance: 5.1408 on 10 degrees of freedom</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> AIC: 50.271</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Number of Fisher Scoring iterations: 4</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
@ -269,7 +269,8 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">data</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><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">data</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="resistance_predict-4.png" alt="" width="700" height="433"></span>
|
||||
<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error:</span> in resistance_predict(): the data provided in argument x must contain rows and columns (current</span>
|
||||
<span class="r-err co"><span class="r-pr">#></span> dimensions: 0x46)</span>
|
||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
@ -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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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="">2.1.1.9081</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9083</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">
|
||||
|