<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8="crossorigin="anonymous"></script><!-- Font Awesome icons --><linkrel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/all.min.css"integrity="sha256-nAmazAk6vS34Xqo0BSrTb+abbtFlgsFK7NKSi6o7Y78="crossorigin="anonymous">
<p>With the function <code><ahref="../reference/mdro.html">mdro()</a></code>, you can determine which micro-organisms are multi-drug resistant organisms (MDRO).</p>
<p>The <code><ahref="../reference/mdro.html">mdro()</a></code> function takes a data set as input, such as a regular <code>data.frame</code>. It tries to automatically determine the right columns for info about your isolates, like the name of the species and all columns with results of antimicrobial agents. See the help page for more info about how to set the right settings for your data with the command <code><ahref="../reference/mdro.html">?mdro</a></code>.</p>
<p>The function support multiple guidelines. You can select a guideline with the <code>guideline</code> parameter. Currently supported guidelines are (case-insensitive):</p>
<p>Magiorakos AP, Srinivasan A <em>et al.</em> “Multidrug-resistant, extensively drug-resistant and pandrug-resistant bacteria: an international expert proposal for interim standard definitions for acquired resistance.” Clinical Microbiology and Infection (2012) (<ahref="https://www.clinicalmicrobiologyandinfection.com/article/S1198-743X(14)61632-3/fulltext">link</a>)</p>
<p>The European international guideline - EUCAST Expert Rules Version 3.1 “Intrinsic Resistance and Exceptional Phenotypes Tables” (<ahref="http://www.eucast.org/fileadmin/src/media/PDFs/EUCAST_files/Expert_Rules/Expert_rules_intrinsic_exceptional_V3.1.pdf">link</a>)</p>
<p>The international guideline for multi-drug resistant tuberculosis - World Health Organization “Companion handbook to the WHO guidelines for the programmatic management of drug-resistant tuberculosis” (<ahref="https://www.who.int/tb/publications/pmdt_companionhandbook/en/">link</a>)</p>
<p>The German national guideline - Mueller et al.(2015) Antimicrobial Resistance and Infection Control 4:7. (<ahref="https://doi.org/10.1186/s13756-015-0047-6">link</a>)</p>
<p>The Dutch national guideline - Rijksinstituut voor Volksgezondheid en Milieu “WIP-richtlijn BRMO (Bijzonder Resistente Micro-Organismen) [ZKH]” (<ahref="https://www.rivm.nl/Documenten_en_publicaties/Professioneel_Praktisch/Richtlijnen/Infectieziekten/WIP_Richtlijnen/WIP_Richtlijnen/Ziekenhuizen/WIP_richtlijn_BRMO_Bijzonder_Resistente_Micro_Organismen_ZKH">link</a>)</p>
<p>The <code><ahref="../reference/mdro.html">mdro()</a></code> function always returns an ordered <code>factor</code>. For example, the output of the default guideline by Magiorakos <em>et al.</em> returns a <code>factor</code> with levels ‘Negative’, ‘MDR’, ‘XDR’ or ‘PDR’ in that order.</p>
<p>The next example uses the <code>example_isolates</code> data set. This is a data set included with this package and contains 2,000 microbial isolates with their full antibiograms. It reflects reality and can be used to practice AMR analysis. If we test the MDR/XDR/PDR guideline on this data set, we get:</p>
<divclass="sourceCode"id="cb1"><preclass="sourceCode r"><codeclass="sourceCode r"><spanid="cb1-1"><ahref="#cb1-1"></a><spanclass="kw"><ahref="https://rdrr.io/r/base/library.html">library</a></span>(dplyr) <spanclass="co"># to support pipes: %>%</span></span></code></pre></div>
<spanid="cb2-3"><ahref="#cb2-3"></a><spanclass="st"></span><spanclass="kw"><ahref="https://rdrr.io/pkg/cleaner/man/freq.html">freq</a></span>() <spanclass="co"># show frequency table of the result</span></span>
<spanid="cb2-4"><ahref="#cb2-4"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: Using column `mo` as input for `col_mo`.</span></span>
<spanid="cb2-5"><ahref="#cb2-5"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: Auto-guessing columns suitable for analysis...OK.</span></span>
<spanid="cb2-6"><ahref="#cb2-6"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: Reliability will be improved if these antimicrobial results would be available too: SAM (ampicillin/sulbactam), ATM (aztreonam), CTT (cefotetan), CPT (ceftaroline), DAP (daptomycin), DOR (doripenem), ETP (ertapenem), FUS (fusidic acid), GEH (gentamicin-high), LVX (levofloxacin), MNO (minocycline), NET (netilmicin), PLB (polymyxin B), QDA (quinupristin/dalfopristin), STH (streptomycin-high), TLV (telavancin), TCC (ticarcillin/clavulanic acid)</span></span>
<spanid="cb2-7"><ahref="#cb2-7"></a><spanclass="co"># Warning in mdro(.): NA introduced for isolates where the available percentage of</span></span>
<spanid="cb2-8"><ahref="#cb2-8"></a><spanclass="co"># antimicrobial classes was below 50% (set with `pct_required_classes`)</span></span></code></pre></div>
<divclass="sourceCode"id="cb3"><preclass="sourceCode r"><codeclass="sourceCode r"><spanid="cb3-1"><ahref="#cb3-1"></a><spanclass="co"># a helper function to get a random vector with values S, I and R</span></span>
<spanid="cb3-2"><ahref="#cb3-2"></a><spanclass="co"># with the probabilities 50% - 10% - 40%</span></span>
<spanid="cb7-2"><ahref="#cb7-2"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: No column found as input for `col_mo`, assuming all records contain Mycobacterium tuberculosis.</span></span>
<spanid="cb7-3"><ahref="#cb7-3"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: Auto-guessing columns suitable for analysis...OK.</span></span>
<spanid="cb7-4"><ahref="#cb7-4"></a><spanclass="co"># </span><spanclass="al">NOTE</span><spanclass="co">: Reliability will be improved if these antimicrobial results would be available too: CAP (capreomycin), RIB (rifabutin), RFP (rifapentine)</span></span></code></pre></div>
<p>Developed by <ahref="https://www.rug.nl/staff/m.s.berends/">Matthijs S. Berends</a>, <ahref="https://www.rug.nl/staff/c.f.luz/">Christian F. Luz</a>, <ahref="https://www.rug.nl/staff/a.w.friedrich/">Alexander W. Friedrich</a>, <ahref="https://www.rug.nl/staff/b.sinha/">Bhanu N. M. Sinha</a>, <ahref="https://www.rug.nl/staff/c.j.albers/">Casper J. Albers</a>, <ahref="https://www.rug.nl/staff/c.glasner/">Corinna Glasner</a>.</p>