Built site for AMR@3.0.1.9123: bf12e3a

This commit is contained in:
github-actions committed 2026-10-12 19:47:04 +00:00
1 parent c1a8cd4607
commit b3ab31b1ec
92 files changed
+558 -357

No files matched your search

+28 -18
View File
@@ -13,7 +13,7 @@ All antibiogram types adhere to previously described approaches (see Source), an
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9122</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9123</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">
@@ -378,24 +378,34 @@ All antibiogram types adhere to previously described approaches (see Source), an
<h2 id="combination-therapy">Combination Therapy<a class="anchor" aria-label="anchor" href="#combination-therapy"></a></h2>
<p>A combination of antimicrobials is considered as good as its most active antimicrobial: <code>"S"</code> is preferred over <code>"WT"</code>, and <code>"R"</code> over <code>"NWT"</code> and <code>"NS"</code>. The value <code>"NI"</code> (non-interpretable) is considered a missing result.</p>
<p>A missing result can only be ignored if the result of the combination is susceptible regardless of the missing result, which depends on the <code>only_all_tested</code> argument and on the guideline: under EUCAST, the 'I' category is considered susceptible (<em>susceptible, increased exposure</em>), and under CLSI, it is not.</p>
<p>This is an example for two antimicrobials, Drug A and Drug B (the order of the antimicrobials does not matter):</p>
<p>Results are ordered from susceptible to resistant: S (and WT), SDD, I, R (and NWT, NS). With <code>method = "most_susceptible"</code> (in <code><a href="sir_combine.html">sir_combine()</a></code>), the most susceptible result of the antimicrobials is returned, and with <code>method = "most_resistant"</code>, the most resistant result. The value <code>"NI"</code> (non-interpretable) is considered a missing result.</p>
<p>A missing result can only be ignored if it cannot change the conclusion: a susceptible result for <code>"most_susceptible"</code>, and a non-susceptible result for <code>"most_resistant"</code>. Under EUCAST, the 'I' category is considered susceptible (<em>susceptible, increased exposure</em>), and under CLSI, it is not. With <code>only_all_tested = TRUE</code>, any missing result leads to <code>NA</code>.</p>
<p>This is an example for two antimicrobials, Drug A and Drug B, under EUCAST (the order of the antimicrobials does not matter):</p>
<p></p><div class="sourceCode"><pre><code><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a><span class="sc">-------------------------------------------------------------------------</span></span>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a> Result of the combination</span>
<span id="cb1-3"><a href="#cb1-3" tabindex="-1"></a> <span class="sc">-----------------------------------------------------</span></span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a> Drug A Drug B only_all_tested <span class="ot">=</span> <span class="cn">FALSE</span> only_all_tested <span class="ot">=</span> <span class="cn">TRUE</span></span>
<span id="cb1-5"><a href="#cb1-5" tabindex="-1"></a><span class="sc">--------</span> <span class="sc">--------</span> <span class="sc">----------------------------</span> <span class="sc">----------------------</span></span>
<span id="cb1-6"><a href="#cb1-6" tabindex="-1"></a> S S, I, R S S</span>
<span id="cb1-7"><a href="#cb1-7" tabindex="-1"></a> I I, R I I</span>
<span id="cb1-8"><a href="#cb1-8" tabindex="-1"></a> R R R R</span>
<span id="cb1-9"><a href="#cb1-9" tabindex="-1"></a> S <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> S <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-10"><a href="#cb1-10" tabindex="-1"></a> I <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="fu">I</span> (EUCAST), <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> (CLSI) <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-11"><a href="#cb1-11" tabindex="-1"></a> R <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-12"><a href="#cb1-12" tabindex="-1"></a> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-13"><a href="#cb1-13" tabindex="-1"></a><span class="sc">-------------------------------------------------------------------------</span></span></code></pre><p></p></div>
<p>The <code><a href="count.html">count_*()</a></code> and <code><a href="proportion.html">proportion_*()</a></code> functions, such as <code><a href="proportion.html">susceptibility()</a></code> and <code><a href="proportion.html">resistance()</a></code>, apply exactly these rules when more than one variable is used: an isolate is considered tested if the result of the combination is not <code>NA</code>, and is then counted by the result of the combination. Consequently, <code><a href="count.html">count_susceptible()</a></code> <code>+</code> <code><a href="count.html">count_resistant()</a></code> <code>=</code> <code><a href="count.html">count_all()</a></code>, and <code><a href="proportion.html">susceptibility()</a></code> <code>+</code> <code><a href="proportion.html">resistance()</a></code> <code>= 1</code>, for both values of <code>only_all_tested</code>. The guideline is taken from their <code>guideline</code> argument if they have one, and otherwise from the <code>AMR_guideline</code> option.</p>
<p>In <code>antibiogram()</code> and <code>wisca()</code>, the 'I' and 'SDD' categories are considered susceptible if <code>combine_SI = TRUE</code> (default), and the result of the combination is then reduced to S or R.</p>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a> Result of method <span class="ot">=</span> Result of method <span class="ot">=</span></span>
<span id="cb1-3"><a href="#cb1-3" tabindex="-1"></a> <span class="st">"most_susceptible"</span> <span class="st">"most_resistant"</span></span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a> <span class="sc">-----------------------</span> <span class="sc">-----------------------------</span></span>
<span id="cb1-5"><a href="#cb1-5" tabindex="-1"></a> only_all_tested <span class="ot">=</span> only_all_tested <span class="ot">=</span></span>
<span id="cb1-6"><a href="#cb1-6" tabindex="-1"></a> Drug A Drug B <span class="cn">FALSE</span> <span class="cn">TRUE</span> <span class="cn">FALSE</span> <span class="cn">TRUE</span></span>
<span id="cb1-7"><a href="#cb1-7" tabindex="-1"></a><span class="sc">--------</span> <span class="sc">--------</span> <span class="sc">---------</span> <span class="sc">---------</span> <span class="sc">-----------</span> <span class="sc">-------------</span></span>
<span id="cb1-8"><a href="#cb1-8" tabindex="-1"></a> S S S S S S</span>
<span id="cb1-9"><a href="#cb1-9" tabindex="-1"></a> S I S S I I</span>
<span id="cb1-10"><a href="#cb1-10" tabindex="-1"></a> S R S S R R</span>
<span id="cb1-11"><a href="#cb1-11" tabindex="-1"></a> I R I I R R</span>
<span id="cb1-12"><a href="#cb1-12" tabindex="-1"></a> R R R R R R</span>
<span id="cb1-13"><a href="#cb1-13" tabindex="-1"></a> S <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> S <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-14"><a href="#cb1-14" tabindex="-1"></a> I <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> I <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-15"><a href="#cb1-15" tabindex="-1"></a> R <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> R <span class="sc">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-16"><a href="#cb1-16" tabindex="-1"></a> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span> <span class="er">&lt;</span><span class="cn">NA</span><span class="sc">&gt;</span></span>
<span id="cb1-17"><a href="#cb1-17" tabindex="-1"></a><span class="sc">-------------------------------------------------------------------------</span></span></code></pre><p></p></div>
<p>Under CLSI, the combination of I with a missing result is <code>&lt;NA&gt;</code> for <code>"most_susceptible"</code> and I for <code>"most_resistant"</code>.</p>
<p>The <code><a href="count.html">count_*()</a></code> and <code><a href="proportion.html">proportion_*()</a></code> functions apply these rules when more than one variable is used. With <code>only_all_tested = FALSE</code> (default), the functions for susceptibility, such as <code><a href="proportion.html">susceptibility()</a></code> and <code><a href="count.html">count_susceptible()</a></code>, count an isolate as susceptible if any of the antimicrobials is susceptible (<code>"most_susceptible"</code>), and the functions for resistance, such as <code><a href="proportion.html">resistance()</a></code> and <code><a href="count.html">count_resistant()</a></code>, count an isolate as resistant if any of the antimicrobials is resistant (<code>"most_resistant"</code>). An isolate is considered tested if it has such a result, or if it was tested for all antimicrobials. Therefore, for combinations with <code>only_all_tested = FALSE</code>:</p>
<p></p><div class="sourceCode"><pre><code><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a> <span class="fu">count_S</span>() <span class="sc">+</span> <span class="fu">count_I</span>() <span class="sc">+</span> <span class="fu">count_R</span>() <span class="sc">&gt;=</span> <span class="fu">count_all</span>()</span>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a> <span class="fu">proportion_S</span>() <span class="sc">+</span> <span class="fu">proportion_I</span>() <span class="sc">+</span> <span class="fu">proportion_R</span>() <span class="sc">&gt;=</span> <span class="dv">1</span></span></code></pre><p></p></div>
<p>With <code>only_all_tested = TRUE</code>, all these functions count the result of the combination therapy (<code>"most_susceptible"</code>) of isolates tested for all antimicrobials, so that:</p>
<p></p><div class="sourceCode"><pre><code><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a> <span class="fu">count_S</span>() <span class="sc">+</span> <span class="fu">count_I</span>() <span class="sc">+</span> <span class="fu">count_R</span>() <span class="ot">=</span> <span class="fu">count_all</span>()</span>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a> <span class="fu">proportion_S</span>() <span class="sc">+</span> <span class="fu">proportion_I</span>() <span class="sc">+</span> <span class="fu">proportion_R</span>() <span class="ot">=</span> <span class="dv">1</span></span></code></pre><p></p></div>
<p>In <code>antibiogram()</code> and <code>wisca()</code>, the result of the combination therapy (<code>"most_susceptible"</code>) is used, the 'I' and 'SDD' categories are considered susceptible if <code>combine_SI = TRUE</code> (default), and the result is then reduced to S or R.</p>
</div>
<div class="section level2">
<h2 id="references">References<a class="anchor" aria-label="anchor" href="#references"></a></h2>