1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-25 03:35:38 +02:00

(v1.3.0.9004) data sets, as.disk() improvement

This commit is contained in:
2020-08-16 21:38:42 +02:00
parent e73f0e211c
commit dab017a50f
56 changed files with 1702 additions and 164 deletions

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="articles/PCA.html">
<span class="fa fa-compress"></span>

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="articles/PCA.html">
<span class="fa fa-compress"></span>

958
docs/articles/datasets.html Normal file
View File

@ -0,0 +1,958 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Data sets for download • AMR (for R)</title>
<!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png">
<link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png">
<!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.4.0/flatly/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script><!-- bootstrap-toc --><link rel="stylesheet" href="../bootstrap-toc.css">
<script src="../bootstrap-toc.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet">
<script src="../extra.js"></script><meta property="og:title" content="Data sets for download">
<meta property="og:description" content="AMR">
<meta property="og:image" content="https://msberends.github.io/AMR/logo.svg">
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#toc">
<div class="container template-article">
<header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home"></span>
Home
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
<span class="fa fa-question-circle"></span>
How to
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/AMR.html">
<span class="fa fa-directions"></span>
Conduct AMR analysis
</a>
</li>
<li>
<a href="../articles/resistance_predict.html">
<span class="fa fa-dice"></span>
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>
Conduct principal component analysis for AMR
</a>
</li>
<li>
<a href="../articles/MDR.html">
<span class="fa fa-skull-crossbones"></span>
Determine multi-drug resistance (MDR)
</a>
</li>
<li>
<a href="../articles/WHONET.html">
<span class="fa fa-globe-americas"></span>
Work with WHONET data
</a>
</li>
<li>
<a href="../articles/SPSS.html">
<span class="fa fa-file-upload"></span>
Import data from SPSS/SAS/Stata
</a>
</li>
<li>
<a href="../articles/EUCAST.html">
<span class="fa fa-exchange-alt"></span>
Apply EUCAST rules
</a>
</li>
<li>
<a href="../reference/mo_property.html">
<span class="fa fa-bug"></span>
Get properties of a microorganism
</a>
</li>
<li>
<a href="../reference/ab_property.html">
<span class="fa fa-capsules"></span>
Get properties of an antibiotic
</a>
</li>
<li>
<a href="../articles/benchmarks.html">
<span class="fa fa-shipping-fast"></span>
Other: benchmarks
</a>
</li>
</ul>
</li>
<li>
<a href="../reference/index.html">
<span class="fa fa-book-open"></span>
Manual
</a>
</li>
<li>
<a href="../authors.html">
<span class="fa fa-users"></span>
Authors
</a>
</li>
<li>
<a href="../news/index.html">
<span class="far fa far fa-newspaper"></span>
Changelog
</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/msberends/AMR">
<span class="fab fa fab fa-github"></span>
Source Code
</a>
</li>
<li>
<a href="../survey.html">
<span class="fa fa-clipboard-list"></span>
Survey
</a>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container -->
</div>
<!--/.navbar -->
</header><script src="datasets_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row">
<div class="col-md-9 contents">
<div class="page-header toc-ignore">
<h1 data-toc-skip>Data sets for download</h1>
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/master/vignettes/datasets.Rmd"><code>vignettes/datasets.Rmd</code></a></small>
<div class="hidden name"><code>datasets.Rmd</code></div>
</div>
<p>This package contains a lot of reference data sets that are all reliable, up-to-date and free to download. You can even use them outside of R, for example to train your laboratory information system (LIS) about intrinsic resistance!</p>
<p>We included them in our <code>AMR</code> package, but also automatically mirror them to our public repository in different software formats. On this page, we explain how to download them and how the structure of the data sets look like. The tab separated files <strong>allow for machine reading taxonomic data and EUCAST and CLSI interpretation guidelines</strong>, which is almost impossible with the Excel and PDF files distributed by EUCAST and CLSI.</p>
<p><em>Note: Years and dates of updates mentioned on this page, are from on <code>AMR</code> package version 1.3.0.9004, online released on 16 August 2020. <strong>If you are reading this page from within R, please <a href="https://msberends.github.io/AMR/articles/datasets.html">visit our website</a> for the latest update.</strong></em></p>
<div id="microorganisms" class="section level2">
<h2 class="hasAnchor">
<a href="#microorganisms" class="anchor"></a>Microorganisms</h2>
<p>This data set is in R available as <code>microorganisms</code>, after you load the <code>AMR</code> package.</p>
<div id="source" class="section level4">
<h4 class="hasAnchor">
<a href="#source" class="anchor"></a>Source</h4>
<p>Our full taxonomy of microorganisms is based on the authoritative and comprehensive:</p>
<ul>
<li>
<a href="http://www.catalogueoflife.org">Catalogue of Life</a> (included version: 2019)</li>
<li>
<a href="https://lpsn.dsmz.de">List of Prokaryotic names with Standing in Nomenclature</a> (LPSN, included version: May 2020)</li>
</ul>
</div>
<div id="structure" class="section level4">
<h4 class="hasAnchor">
<a href="#structure" class="anchor"></a>Structure</h4>
<p>A data set with 67,151 rows and 16 columns, containing the following column names:</p>
<p><em>mo, fullname, kingdom, phylum, class, order, family, genus, species, subspecies, rank, ref, species_id, source, prevalence, snomed</em>.</p>
<p>Included per taxonomic kingdom:</p>
<table class="table">
<thead><tr class="header">
<th align="center">Kingdom</th>
<th align="center">Number of (sub)species</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">(unknown kingdom)</td>
<td align="center">1</td>
</tr>
<tr class="even">
<td align="center">Animalia</td>
<td align="center">2,153</td>
</tr>
<tr class="odd">
<td align="center">Archaea</td>
<td align="center">697</td>
</tr>
<tr class="even">
<td align="center">Bacteria</td>
<td align="center">19,244</td>
</tr>
<tr class="odd">
<td align="center">Chromista</td>
<td align="center">32,164</td>
</tr>
<tr class="even">
<td align="center">Fungi</td>
<td align="center">9,582</td>
</tr>
</tbody>
</table>
</div>
<div id="download" class="section level4">
<h4 class="hasAnchor">
<a href="#download" class="anchor"></a>Download</h4>
<p>Download the data set preferably in the software you use, so the data file already has the correct data structure. Below files were updated on 28 July 2020 20:52:40 CEST.</p>
<ul>
<li><p>R file (.rds): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.rds">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.rds">from GitLab</a> (file size: 2.7 MB)</p></li>
<li><p>Excel workbook (.xlsx): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.xlsx">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.xlsx">from GitLab</a> (file size: 6.1 MB)</p></li>
<li><p>SPSS file (.sav): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.sav">from GitLab</a> (file size: 28.2 MB)</p></li>
<li><p>Stata file (.dta): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.sav">from GitLab</a> (file size: 28.2 MB)</p></li>
<li><p>SAS file (.sas): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.dta">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.dta">from GitLab</a> (file size: 25.2 MB)</p></li>
<li><p>Tab separated file (.txt): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/microorganisms.txt">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/microorganisms.txt">from GitLab</a> (file size: 13.3 MB)</p></li>
</ul>
</div>
<div id="example" class="section level4">
<h4 class="hasAnchor">
<a href="#example" class="anchor"></a>Example</h4>
<p>Example rows when filtering on genus <em>Escherichia</em>:</p>
<table class="table">
<colgroup>
<col width="5%">
<col width="9%">
<col width="3%">
<col width="6%">
<col width="8%">
<col width="6%">
<col width="7%">
<col width="5%">
<col width="4%">
<col width="4%">
<col width="3%">
<col width="9%">
<col width="13%">
<col width="3%">
<col width="4%">
<col width="4%">
</colgroup>
<thead><tr class="header">
<th align="center">mo</th>
<th align="center">fullname</th>
<th align="center">kingdom</th>
<th align="center">phylum</th>
<th align="center">class</th>
<th align="center">order</th>
<th align="center">family</th>
<th align="center">genus</th>
<th align="center">species</th>
<th align="center">subspecies</th>
<th align="center">rank</th>
<th align="center">ref</th>
<th align="center">species_id</th>
<th align="center">source</th>
<th align="center">prevalence</th>
<th align="center">snomed</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">B_ESCHR</td>
<td align="center">Escherichia</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">genus</td>
<td align="center"></td>
<td align="center">bc4fdde6867d5ecfc728000b0bfb49a3</td>
<td align="center">CoL</td>
<td align="center">1</td>
<td align="center">64735005</td>
</tr>
<tr class="even">
<td align="center">B_ESCHR_ALBR</td>
<td align="center">Escherichia albertii</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center">albertii</td>
<td align="center"></td>
<td align="center">species</td>
<td align="center">Huys et al., 2003</td>
<td align="center">36618b1ed3b8b7e5a61f40eb9386e63c</td>
<td align="center">CoL</td>
<td align="center">1</td>
<td align="center">419388003</td>
</tr>
<tr class="odd">
<td align="center">B_ESCHR_COLI</td>
<td align="center">Escherichia coli</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center">coli</td>
<td align="center"></td>
<td align="center">species</td>
<td align="center">Castellani et al., 1919</td>
<td align="center">3254b3db31bf16fdde669ac57bf8c4fe</td>
<td align="center">CoL</td>
<td align="center">1</td>
<td align="center">112283007</td>
</tr>
<tr class="even">
<td align="center">B_ESCHR_FRGS</td>
<td align="center">Escherichia fergusonii</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center">fergusonii</td>
<td align="center"></td>
<td align="center">species</td>
<td align="center">Farmer et al., 1985</td>
<td align="center">82d98b10c456ce5f4c8c515f4e1567e2</td>
<td align="center">CoL</td>
<td align="center">1</td>
<td align="center">72461005</td>
</tr>
<tr class="odd">
<td align="center">B_ESCHR_HRMN</td>
<td align="center">Escherichia hermannii</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center">hermannii</td>
<td align="center"></td>
<td align="center">species</td>
<td align="center">Brenner et al., 1983</td>
<td align="center">b16086aee36e3b46b565510083ab4b65</td>
<td align="center">CoL</td>
<td align="center">1</td>
<td align="center">85786000</td>
</tr>
<tr class="even">
<td align="center">B_ESCHR_MRMT</td>
<td align="center">Escherichia marmotae</td>
<td align="center">Bacteria</td>
<td align="center">Proteobacteria</td>
<td align="center">Gammaproteobacteria</td>
<td align="center">Enterobacterales</td>
<td align="center">Enterobacteriaceae</td>
<td align="center">Escherichia</td>
<td align="center">marmotae</td>
<td align="center"></td>
<td align="center">species</td>
<td align="center">Liu et al., 2015</td>
<td align="center">792928</td>
<td align="center">DSMZ</td>
<td align="center">1</td>
<td align="center"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="antibiotic-agents" class="section level2">
<h2 class="hasAnchor">
<a href="#antibiotic-agents" class="anchor"></a>Antibiotic agents</h2>
<p>This data set is in R available as <code>antibiotics</code>, after you load the <code>AMR</code> package.</p>
<div id="source-1" class="section level4">
<h4 class="hasAnchor">
<a href="#source-1" class="anchor"></a>Source</h4>
<p>This data set contains all EARS-Net and ATC codes gathered from WHO and WHONET, and all compound IDs from PubChem. It also contains all brand names (synonyms) as found on PubChem and Defined Daily Doses (DDDs) for oral and parenteral administration.</p>
<ul>
<li>
<a href="https://www.whocc.no/atc_ddd_index/">ATC/DDD index from WHO Collaborating Centre for Drug Statistics Methodology</a> (note: this may not be used for commercial purposes, but is frelly available from the WHO CC website for personal use)</li>
<li><a href="https://pubchem.ncbi.nlm.nih.gov">PubChem by the US National Library of Medicine</a></li>
<li><a href="https://whonet.org">WHONET software 2019</a></li>
</ul>
</div>
<div id="structure-1" class="section level4">
<h4 class="hasAnchor">
<a href="#structure-1" class="anchor"></a>Structure</h4>
<p>A data set with 456 rows and 14 columns, containing the following column names:</p>
<p><em>ab, atc, cid, name, group, atc_group1, atc_group2, abbreviations, synonyms, oral_ddd, oral_units, iv_ddd, iv_units, loinc</em>.</p>
</div>
<div id="download-1" class="section level4">
<h4 class="hasAnchor">
<a href="#download-1" class="anchor"></a>Download</h4>
<p>Download the data set preferably in the software you use, so the data file already has the correct data structure. Below files were updated on 31 July 2020 12:12:13 CEST.</p>
<ul>
<li><p>R file (.rds): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.rds">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.rds">from GitLab</a> (file size: 37.3 kB)</p></li>
<li><p>Excel workbook (.xlsx): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.xlsx">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.xlsx">from GitLab</a> (file size: 64.5 kB)</p></li>
<li><p>SPSS file (.sav): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.sav">from GitLab</a> (file size: 1.3 MB)</p></li>
<li><p>Stata file (.dta): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.sav">from GitLab</a> (file size: 1.3 MB)</p></li>
<li><p>SAS file (.sas): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.dta">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.dta">from GitLab</a> (file size: 321.8 kB)</p></li>
<li><p>Tab separated file (.txt): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antibiotics.txt">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antibiotics.txt">from GitLab</a> (file size: 146.1 kB)</p></li>
</ul>
</div>
<div id="example-1" class="section level4">
<h4 class="hasAnchor">
<a href="#example-1" class="anchor"></a>Example</h4>
<p>Example rows:</p>
<table class="table">
<colgroup>
<col width="1%">
<col width="2%">
<col width="3%">
<col width="9%">
<col width="8%">
<col width="14%">
<col width="19%">
<col width="6%">
<col width="11%">
<col width="3%">
<col width="3%">
<col width="2%">
<col width="3%">
<col width="10%">
</colgroup>
<thead><tr class="header">
<th align="center">ab</th>
<th align="center">atc</th>
<th align="center">cid</th>
<th align="center">name</th>
<th align="center">group</th>
<th align="center">atc_group1</th>
<th align="center">atc_group2</th>
<th align="center">abbreviations</th>
<th align="center">synonyms</th>
<th align="center">oral_ddd</th>
<th align="center">oral_units</th>
<th align="center">iv_ddd</th>
<th align="center">iv_units</th>
<th align="center">loinc</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">AMK</td>
<td align="center">J01GB06</td>
<td align="center">37768</td>
<td align="center">Amikacin</td>
<td align="center">Aminoglycosides</td>
<td align="center">Aminoglycoside antibacterials</td>
<td align="center">Other aminoglycosides</td>
<td align="center">ak, ami, amik, …</td>
<td align="center">amicacin, amikacillin, amikacin, …</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">1.0</td>
<td align="center">g</td>
<td align="center">13546-7, 15098-7, 17798-0, …</td>
</tr>
<tr class="even">
<td align="center">AMX</td>
<td align="center">J01CA04</td>
<td align="center">33613</td>
<td align="center">Amoxicillin</td>
<td align="center">Beta-lactams/penicillins</td>
<td align="center">Beta-lactam antibacterials, penicillins</td>
<td align="center">Penicillins with extended spectrum</td>
<td align="center">ac, amox, amx</td>
<td align="center">actimoxi, amoclen, amolin, …</td>
<td align="center">1.0</td>
<td align="center">g</td>
<td align="center">1.0</td>
<td align="center">g</td>
<td align="center">16365-9, 25274-2, 3344-9, …</td>
</tr>
<tr class="odd">
<td align="center">AMC</td>
<td align="center">J01CR02</td>
<td align="center">23665637</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Beta-lactams/penicillins</td>
<td align="center">Beta-lactam antibacterials, penicillins</td>
<td align="center">Combinations of penicillins, incl. beta-lactamase inhibitors</td>
<td align="center">a/c, amcl, aml, …</td>
<td align="center">amocla, amoclan, amoclav, …</td>
<td align="center">1.0</td>
<td align="center">g</td>
<td align="center">3.0</td>
<td align="center">g</td>
<td align="center"></td>
</tr>
<tr class="even">
<td align="center">AMP</td>
<td align="center">J01CA01</td>
<td align="center">6249</td>
<td align="center">Ampicillin</td>
<td align="center">Beta-lactams/penicillins</td>
<td align="center">Beta-lactam antibacterials, penicillins</td>
<td align="center">Penicillins with extended spectrum</td>
<td align="center">am, amp, ampi</td>
<td align="center">acillin, adobacillin, amblosin, …</td>
<td align="center">2.0</td>
<td align="center">g</td>
<td align="center">2.0</td>
<td align="center">g</td>
<td align="center">21066-6, 3355-5, 33562-0, …</td>
</tr>
<tr class="odd">
<td align="center">AZM</td>
<td align="center">J01FA10</td>
<td align="center">447043</td>
<td align="center">Azithromycin</td>
<td align="center">Macrolides/lincosamides</td>
<td align="center">Macrolides, lincosamides and streptogramins</td>
<td align="center">Macrolides</td>
<td align="center">az, azi, azit, …</td>
<td align="center">aritromicina, azasite, azenil, …</td>
<td align="center">0.3</td>
<td align="center">g</td>
<td align="center">0.5</td>
<td align="center">g</td>
<td align="center">16420-2, 25233-8</td>
</tr>
<tr class="even">
<td align="center">CZO</td>
<td align="center">J01DB04</td>
<td align="center">33255</td>
<td align="center">Cefazolin</td>
<td align="center">Cephalosporins (1st gen.)</td>
<td align="center">Other beta-lactam antibacterials</td>
<td align="center">First-generation cephalosporins</td>
<td align="center">cfz, cfzl, cz, …</td>
<td align="center">atirin, cefamezin, cefamezine, …</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">3.0</td>
<td align="center">g</td>
<td align="center">16566-2, 25235-3, 3442-1, …</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="antiviral-agents" class="section level2">
<h2 class="hasAnchor">
<a href="#antiviral-agents" class="anchor"></a>Antiviral agents</h2>
<p>This data set is in R available as <code>antivirals</code>, after you load the <code>AMR</code> package.</p>
<div id="source-2" class="section level4">
<h4 class="hasAnchor">
<a href="#source-2" class="anchor"></a>Source</h4>
<p>This data set contains all ATC codes gathered from WHO and all compound IDs from PubChem. It also contains all brand names (synonyms) as found on PubChem and Defined Daily Doses (DDDs) for oral and parenteral administration.</p>
<ul>
<li>
<a href="https://www.whocc.no/atc_ddd_index/">ATC/DDD index from WHO Collaborating Centre for Drug Statistics Methodology</a> (note: this may not be used for commercial purposes, but is frelly available from the WHO CC website for personal use)</li>
<li><a href="https://pubchem.ncbi.nlm.nih.gov">PubChem by the US National Library of Medicine</a></li>
</ul>
</div>
<div id="structure-2" class="section level4">
<h4 class="hasAnchor">
<a href="#structure-2" class="anchor"></a>Structure</h4>
<p>A data set with 102 rows and 9 columns, containing the following column names:</p>
<p><em>atc, cid, name, atc_group, synonyms, oral_ddd, oral_units, iv_ddd, iv_units</em>.</p>
</div>
<div id="download-2" class="section level4">
<h4 class="hasAnchor">
<a href="#download-2" class="anchor"></a>Download</h4>
<p>Download the data set preferably in the software you use, so the data file already has the correct data structure. Below files were updated on 23 November 2019 19:03:43 CET.</p>
<ul>
<li><p>R file (.rds): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.rds">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.rds">from GitLab</a> (file size: 4.6 kB)</p></li>
<li><p>Excel workbook (.xlsx): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.xlsx">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.xlsx">from GitLab</a> (file size: 13.6 kB)</p></li>
<li><p>SPSS file (.sav): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.sav">from GitLab</a> (file size: 67.7 kB)</p></li>
<li><p>Stata file (.dta): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.sav">from GitLab</a> (file size: 67.7 kB)</p></li>
<li><p>SAS file (.sas): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.dta">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.dta">from GitLab</a> (file size: 67.2 kB)</p></li>
<li><p>Tab separated file (.txt): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/antivirals.txt">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/antivirals.txt">from GitLab</a> (file size: 16.2 kB)</p></li>
</ul>
</div>
<div id="example-2" class="section level4">
<h4 class="hasAnchor">
<a href="#example-2" class="anchor"></a>Example</h4>
<p>Example rows:</p>
<table class="table">
<colgroup>
<col width="4%">
<col width="5%">
<col width="9%">
<col width="32%">
<col width="30%">
<col width="4%">
<col width="5%">
<col width="3%">
<col width="4%">
</colgroup>
<thead><tr class="header">
<th align="center">atc</th>
<th align="center">cid</th>
<th align="center">name</th>
<th align="center">atc_group</th>
<th align="center">synonyms</th>
<th align="center">oral_ddd</th>
<th align="center">oral_units</th>
<th align="center">iv_ddd</th>
<th align="center">iv_units</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">J05AF06</td>
<td align="center">441300</td>
<td align="center">abacavir</td>
<td align="center">Nucleoside and nucleotide reverse transcriptase inhibitors</td>
<td align="center">Abacavir, Abacavir sulfate, Ziagen</td>
<td align="center">0.6</td>
<td align="center">g</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr class="even">
<td align="center">J05AB01</td>
<td align="center">135398513</td>
<td align="center">aciclovir</td>
<td align="center">Nucleosides and nucleotides excl. reverse transcriptase inhibitors</td>
<td align="center">Acicloftal, Aciclovier, Aciclovir, …</td>
<td align="center">4.0</td>
<td align="center">g</td>
<td align="center">4</td>
<td align="center">g</td>
</tr>
<tr class="odd">
<td align="center">J05AF08</td>
<td align="center">60871</td>
<td align="center">adefovir dipivoxil</td>
<td align="center">Nucleoside and nucleotide reverse transcriptase inhibitors</td>
<td align="center">Adefovir di ester, Adefovir dipivoxil, Adefovir Dipivoxil, …</td>
<td align="center">10.0</td>
<td align="center">mg</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr class="even">
<td align="center">J05AE05</td>
<td align="center">65016</td>
<td align="center">amprenavir</td>
<td align="center">Protease inhibitors</td>
<td align="center">Agenerase, Amprenavir, Amprenavirum, …</td>
<td align="center">1.2</td>
<td align="center">g</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr class="odd">
<td align="center">J05AP06</td>
<td align="center">16076883</td>
<td align="center">asunaprevir</td>
<td align="center">Antivirals for treatment of HCV infections</td>
<td align="center">Asunaprevir, Sunvepra</td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr class="even">
<td align="center">J05AE08</td>
<td align="center">148192</td>
<td align="center">atazanavir</td>
<td align="center">Protease inhibitors</td>
<td align="center">Atazanavir, Atazanavir Base, Latazanavir, …</td>
<td align="center">0.3</td>
<td align="center">g</td>
<td align="center"></td>
<td align="center"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="intrinsic-bacterial-resistance" class="section level2">
<h2 class="hasAnchor">
<a href="#intrinsic-bacterial-resistance" class="anchor"></a>Intrinsic bacterial resistance</h2>
<p>This data set is in R available as <code>intrinsic_resistant</code>, after you load the <code>AMR</code> package.</p>
<div id="source-3" class="section level4">
<h4 class="hasAnchor">
<a href="#source-3" class="anchor"></a>Source</h4>
<p>This data set contains all defined intrinsic resistance by EUCAST of all bug-drug combinations.</p>
<p>The data set is based on EUCAST Expert Rules, Intrinsic Resistance and Exceptional Phenotypes, version 3.1, 2016.</p>
</div>
<div id="structure-3" class="section level4">
<h4 class="hasAnchor">
<a href="#structure-3" class="anchor"></a>Structure</h4>
<p>A data set with 49,462 rows and 2 columns, containing the following column names:</p>
<p><em>microorganism, antibiotic</em>.</p>
</div>
<div id="download-3" class="section level4">
<h4 class="hasAnchor">
<a href="#download-3" class="anchor"></a>Download</h4>
<p>Download the data set preferably in the software you use, so the data file already has the correct data structure. Below files were updated on 14 August 2020 14:18:20 CEST.</p>
<ul>
<li><p>R file (.rds): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.rds">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.rds">from GitLab</a> (file size: 96.6 kB)</p></li>
<li><p>Excel workbook (.xlsx): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.xlsx">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.xlsx">from GitLab</a> (file size: 0.5 MB)</p></li>
<li><p>SPSS file (.sav): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.sav">from GitLab</a> (file size: 4.2 MB)</p></li>
<li><p>Stata file (.dta): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.sav">from GitLab</a> (file size: 4.2 MB)</p></li>
<li><p>SAS file (.sas): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.dta">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.dta">from GitLab</a> (file size: 3.7 MB)</p></li>
<li><p>Tab separated file (.txt): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/intrinsic_resistant.txt">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/intrinsic_resistant.txt">from GitLab</a> (file size: 1.8 MB)</p></li>
</ul>
</div>
<div id="example-3" class="section level4">
<h4 class="hasAnchor">
<a href="#example-3" class="anchor"></a>Example</h4>
<p>Example rows:</p>
<table class="table">
<thead><tr class="header">
<th align="center">microorganism</th>
<th align="center">antibiotic</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">Klebsiella</td>
<td align="center">Amoxicillin</td>
</tr>
<tr class="even">
<td align="center">Klebsiella</td>
<td align="center">Ampicillin</td>
</tr>
<tr class="odd">
<td align="center">Klebsiella</td>
<td align="center">Azithromycin</td>
</tr>
<tr class="even">
<td align="center">Klebsiella</td>
<td align="center">Clarithromycin</td>
</tr>
<tr class="odd">
<td align="center">Klebsiella</td>
<td align="center">Daptomycin</td>
</tr>
<tr class="even">
<td align="center">Klebsiella</td>
<td align="center">Erythromycin</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="interpretation-from-mic-values-disk-diameters-to-rsi" class="section level2">
<h2 class="hasAnchor">
<a href="#interpretation-from-mic-values-disk-diameters-to-rsi" class="anchor"></a>Interpretation from MIC values / disk diameters to R/SI</h2>
<p>This data set is in R available as <code>rsi_translation</code>, after you load the <code>AMR</code> package.</p>
<div id="source-4" class="section level4">
<h4 class="hasAnchor">
<a href="#source-4" class="anchor"></a>Source</h4>
<p>This data set contains interpretation rules for MIC values and disk diffusion diameters. Included guidelines are CLSI (2010-2019) and EUCAST (2011-2020).</p>
</div>
<div id="structure-4" class="section level4">
<h4 class="hasAnchor">
<a href="#structure-4" class="anchor"></a>Structure</h4>
<p>A data set with 18,650 rows and 10 columns, containing the following column names:</p>
<p><em>guideline, method, site, mo, ab, ref_tbl, disk_dose, breakpoint_S, breakpoint_R, uti</em>.</p>
</div>
<div id="download-4" class="section level4">
<h4 class="hasAnchor">
<a href="#download-4" class="anchor"></a>Download</h4>
<p>Download the data set preferably in the software you use, so the data file already has the correct data structure. Below files were updated on 29 July 2020 13:12:34 CEST.</p>
<ul>
<li><p>R file (.rds): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.rds">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.rds">from GitLab</a> (file size: 55.1 kB)</p></li>
<li><p>Excel workbook (.xlsx): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.xlsx">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.xlsx">from GitLab</a> (file size: 0.6 MB)</p></li>
<li><p>SPSS file (.sav): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.sav">from GitLab</a> (file size: 3.4 MB)</p></li>
<li><p>Stata file (.dta): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.sav">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.sav">from GitLab</a> (file size: 3.4 MB)</p></li>
<li><p>SAS file (.sas): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.dta">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.dta">from GitLab</a> (file size: 3 MB)</p></li>
<li><p>Tab separated file (.txt): <a href="https://github.com/msberends/AMR/raw/master/data-raw/../data-raw/rsi_translation.txt">from GitHub</a>, <a href="https://gitlab.com/msberends/AMR/-/raw/master/data-raw/../data-raw/rsi_translation.txt">from GitLab</a> (file size: 1.5 MB)</p></li>
</ul>
</div>
<div id="example-4" class="section level4">
<h4 class="hasAnchor">
<a href="#example-4" class="anchor"></a>Example</h4>
<p>Example rows:</p>
<table class="table">
<colgroup>
<col width="8%">
<col width="5%">
<col width="4%">
<col width="12%">
<col width="20%">
<col width="17%">
<col width="7%">
<col width="9%">
<col width="9%">
<col width="4%">
</colgroup>
<thead><tr class="header">
<th align="center">guideline</th>
<th align="center">method</th>
<th align="center">site</th>
<th align="center">mo</th>
<th align="center">ab</th>
<th align="center">ref_tbl</th>
<th align="center">disk_dose</th>
<th align="center">breakpoint_S</th>
<th align="center">breakpoint_R</th>
<th align="center">uti</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="center">EUCAST 2020</td>
<td align="center">DISK</td>
<td align="center"></td>
<td align="center">Enterobacterales</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Enterobacterales</td>
<td align="center">20-10ug</td>
<td align="center">19</td>
<td align="center">19</td>
<td align="center">FALSE</td>
</tr>
<tr class="even">
<td align="center">EUCAST 2020</td>
<td align="center">DISK</td>
<td align="center">UTI</td>
<td align="center">Enterobacterales</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Enterobacterales</td>
<td align="center">20-10ug</td>
<td align="center">16</td>
<td align="center">16</td>
<td align="center">TRUE</td>
</tr>
<tr class="odd">
<td align="center">EUCAST 2020</td>
<td align="center">MIC</td>
<td align="center"></td>
<td align="center">Enterobacterales</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Enterobacterales</td>
<td align="center"></td>
<td align="center">8</td>
<td align="center">8</td>
<td align="center">FALSE</td>
</tr>
<tr class="even">
<td align="center">EUCAST 2020</td>
<td align="center">MIC</td>
<td align="center">UTI</td>
<td align="center">Enterobacterales</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Enterobacterales</td>
<td align="center"></td>
<td align="center">32</td>
<td align="center">32</td>
<td align="center">TRUE</td>
</tr>
<tr class="odd">
<td align="center">EUCAST 2020</td>
<td align="center">MIC</td>
<td align="center"></td>
<td align="center">Actinomyces</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Anaerobes, Grampositive</td>
<td align="center"></td>
<td align="center">4</td>
<td align="center">8</td>
<td align="center">FALSE</td>
</tr>
<tr class="even">
<td align="center">EUCAST 2020</td>
<td align="center">MIC</td>
<td align="center"></td>
<td align="center">Bacteroides</td>
<td align="center">Amoxicillin/clavulanic acid</td>
<td align="center">Anaerobes, Gramnegative</td>
<td align="center"></td>
<td align="center">4</td>
<td align="center">8</td>
<td align="center">FALSE</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc"><h2 data-toc-skip>Contents</h2>
</nav>
</div>
</div>
<footer><div class="copyright">
<p>Developed by <a href="https://www.rug.nl/staff/m.s.berends/">Matthijs S. Berends</a>, <a href="https://www.rug.nl/staff/c.f.luz/">Christian F. Luz</a>, <a href="https://www.rug.nl/staff/a.w.friedrich/">Alexander W. Friedrich</a>, <a href="https://www.rug.nl/staff/b.sinha/">Bhanu N. M. Sinha</a>, <a href="https://www.rug.nl/staff/c.j.albers/">Casper J. Albers</a>, <a href="https://www.rug.nl/staff/c.glasner/">Corinna Glasner</a>.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.1.9000.</p>
</div>
</footer>
</div>
</body>
</html>

View File

@ -0,0 +1,15 @@
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) -->
// v0.0.1
// Written by JooYoung Seo (jooyoung@psu.edu) and Atsushi Yasumoto on June 1st, 2020.
document.addEventListener('DOMContentLoaded', function() {
const codeList = document.getElementsByClassName("sourceCode");
for (var i = 0; i < codeList.length; i++) {
var linkList = codeList[i].getElementsByTagName('a');
for (var j = 0; j < linkList.length; j++) {
if (linkList[j].innerHTML === "") {
linkList[j].setAttribute('aria-hidden', 'true');
}
}
}
});

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>
@ -247,6 +254,8 @@
<dd></dt>
<dt><a href="benchmarks.html">Benchmarks</a></dt>
<dd></dt>
<dt><a href="datasets.html">Data sets for download</a></dt>
<dd></dt>
<dt><a href="resistance_predict.html">How to predict antimicrobial resistance</a></dt>
<dd></dt>
<dt><a href="welcome_to_AMR.html">Welcome to the AMR package</a></dt>

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="articles/PCA.html">
<span class="fa fa-compress"></span>

View File

@ -250,3 +250,24 @@ table a:not(.btn):hover, .table a:not(.btn):hover {
background: #128f7645;
color: #2c3e50;
}
.home-buttons {
display: flex;
margin-bottom: 5px;
}
.home-buttons a {
display: grid;
text-align: center;
font-size: 16px;
text-transform: uppercase;
width: 25%;
}
.home-buttons a:hover {
text-decoration: none;
}
.home-buttons div {
display: grid;
padding: 10px;
}
.home-buttons .fa {
font-size: 3.5em;
}

View File

@ -43,7 +43,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -79,6 +79,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="articles/PCA.html">
<span class="fa fa-compress"></span>
@ -207,6 +214,33 @@ Since you are one of our users, we would like to know how you use the package an
</p>
<br><br>
</div>
<div class="home-buttons">
<a href="articles/datasets.html">
<div style="background-color: #128f7635;">
<div class="fa fa-database">
</div>
<span>Download free data sets</span>
</div>
</a> <a href="articles/AMR.html">
<div style="background-color: #138F3865;">
<div class="fa fa-chalkboard-teacher">
</div>
<span>Start learning AMR analysis</span>
</div>
</a> <a href="reference/as.rsi.html">
<div style="background-color: #128f7650;">
<div class="fa fa-language">
</div>
<span>Interpret MIC/disk values to R/SI</span>
</div>
</a> <a href="articles/MDR.html">
<div style="background-color: #138F3835;">
<div class="fa fa-skull-crossbones">
</div>
<span>Determine multi-drug resistance (MDR)</span>
</div>
</a>
</div>
<div id="partners" class="section level4">
<h4 class="hasAnchor">
<a href="#partners" class="anchor"></a>Partners</h4>
@ -245,6 +279,7 @@ Since you are one of our users, we would like to know how you use the package an
<div id="latest-released-version" class="section level4">
<h4 class="hasAnchor">
<a href="#latest-released-version" class="anchor"></a>Latest released version</h4>
<p><img src="https://www.r-pkg.org/badges/version-ago/AMR"><img src="https://cranlogs.r-pkg.org/badges/grand-total/AMR"></p>
<p>This package is available <a href="https://cran.r-project.org/package=AMR">here on the official R network (CRAN)</a>, which has a peer-reviewed submission process. Install this package in R from CRAN by using the command:</p>
<div class="sourceCode" id="cb1"><pre class="downlit">
<span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html">install.packages</a></span>(<span class="st">"AMR"</span>)

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>
@ -229,13 +236,13 @@
<small>Source: <a href='https://github.com/msberends/AMR/blob/master/NEWS.md'><code>NEWS.md</code></a></small>
</div>
<div id="amr-1309003" class="section level1">
<h1 class="page-header" data-toc-text="1.3.0.9003">
<a href="#amr-1309003" class="anchor"></a>AMR 1.3.0.9003<small> Unreleased </small>
<div id="amr-1309004" class="section level1">
<h1 class="page-header" data-toc-text="1.3.0.9004">
<a href="#amr-1309004" class="anchor"></a>AMR 1.3.0.9004<small> Unreleased </small>
</h1>
<div id="last-updated-15-august-2020" class="section level2">
<div id="last-updated-16-august-2020" class="section level2">
<h2 class="hasAnchor">
<a href="#last-updated-15-august-2020" class="anchor"></a><small>Last updated: 15 August 2020</small>
<a href="#last-updated-16-august-2020" class="anchor"></a><small>Last updated: 16 August 2020</small>
</h2>
<div id="new" class="section level3">
<h3 class="hasAnchor">
@ -250,7 +257,7 @@
<span class="kw">intrinsic_resistant</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/filter.html">filter</a></span>(<span class="kw">antibiotic</span> <span class="op">==</span> <span class="st">"Vancomycin"</span>, <span class="kw">microorganism</span> <span class="op">%like%</span> <span class="st">"Enterococcus"</span>) <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/pull.html">pull</a></span>(<span class="kw">microorganism</span>)
<span class="co"># [1] "Enterococcus casseliflavus" "Enterococcus gallinarum" </span>
<span class="co">#&gt; [1] "Enterococcus casseliflavus" "Enterococcus gallinarum" </span>
</pre></div>
</li>
</ul>
@ -259,7 +266,8 @@
<h3 class="hasAnchor">
<a href="#changed" class="anchor"></a>Changed</h3>
<ul>
<li>Improvements for <code><a href="../reference/as.rsi.html">as.rsi()</a></code>:
<li>
<p>Improvements for <code><a href="../reference/as.rsi.html">as.rsi()</a></code>:</p>
<ul>
<li>
<p>Support for using <code>dplyr</code>s <code><a href="https://dplyr.tidyverse.org/reference/across.html">across()</a></code> to interpret MIC values or disk zone diameters, which also automatically determines the column with microorganism names or codes.</p>
@ -274,9 +282,18 @@
</pre></div>
</li>
<li><p>Big speed improvement for interpreting MIC values and disk zone diameters. When interpreting 5,000 MIC values of two antibiotics (10,000 values in total), our benchmarks showed a total run time going from 80.7-85.1 seconds to 1.8-2.0 seconds.</p></li>
<li><p>Added parameter add_intrinsic_resistance (defaults to <code>FALSE</code>), that considers intrinsic resistance according to EUCAST</p></li>
</ul>
</li>
<li>Overall speed improvement by tweaking joining functions</li>
<li>
<p>Added intelligent data cleaning to <code><a href="../reference/as.disk.html">as.disk()</a></code>, so numbers can also be extracted from text and decimal numbers will always be rounded up:</p>
<div class="sourceCode" id="cb3"><pre class="downlit">
<span class="fu"><a href="../reference/as.disk.html">as.disk</a></span>(<span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span>(<span class="st">"disk zone: 23.4 mm"</span>, <span class="fl">23.4</span>))
<span class="co">#&gt; Class &lt;disk&gt;</span>
<span class="co">#&gt; [1] 24 24</span>
</pre></div>
</li>
<li><p>Overall speed improvement by tweaking joining functions</p></li>
</ul>
</div>
</div>
@ -292,7 +309,7 @@
<li><p>Function <code><a href="../reference/ab_from_text.html">ab_from_text()</a></code> to retrieve antimicrobial drug names, doses and forms of administration from clinical texts in e.g. health care records, which also corrects for misspelling since it uses <code><a href="../reference/as.ab.html">as.ab()</a></code> internally</p></li>
<li>
<p><a href="https://tidyselect.r-lib.org/reference/language.html">Tidyverse selection helpers</a> for antibiotic classes, that help to select the columns of antibiotics that are of a specific antibiotic class, without the need to define the columns or antibiotic abbreviations. They can be used in any function that allows selection helpers, like <code><a href="https://dplyr.tidyverse.org/reference/select.html">dplyr::select()</a></code> and <code><a href="https://tidyr.tidyverse.org/reference/pivot_longer.html">tidyr::pivot_longer()</a></code>:</p>
<div class="sourceCode" id="cb3"><pre class="downlit">
<div class="sourceCode" id="cb4"><pre class="downlit">
<span class="fu"><a href="https://rdrr.io/r/base/library.html">library</a></span>(<span class="kw"><a href="https://dplyr.tidyverse.org">dplyr</a></span>)
<span class="co"># Columns 'IPM' and 'MEM' are in the example_isolates data set</span>
@ -481,7 +498,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Fixed important floating point error for some MIC comparisons in EUCAST 2020 guideline</p></li>
<li>
<p>Interpretation from MIC values (and disk zones) to R/SI can now be used with <code><a href="https://dplyr.tidyverse.org/reference/mutate_all.html">mutate_at()</a></code> of the <code>dplyr</code> package:</p>
<div class="sourceCode" id="cb4"><pre class="downlit">
<div class="sourceCode" id="cb5"><pre class="downlit">
<span class="kw">yourdata</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate_all.html">mutate_at</a></span>(<span class="fu"><a href="https://dplyr.tidyverse.org/reference/vars.html">vars</a></span>(<span class="kw">antibiotic1</span><span class="op">:</span><span class="kw">antibiotic25</span>), <span class="kw">as.rsi</span>, mo = <span class="st">"E. coli"</span>)
@ -510,7 +527,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Support for LOINC codes in the <code>antibiotics</code> data set. Use <code><a href="../reference/ab_property.html">ab_loinc()</a></code> to retrieve LOINC codes, or use a LOINC code for input in any <code>ab_*</code> function:</p>
<div class="sourceCode" id="cb5"><pre class="downlit">
<div class="sourceCode" id="cb6"><pre class="downlit">
<span class="fu"><a href="../reference/ab_property.html">ab_loinc</a></span>(<span class="st">"ampicillin"</span>)
<span class="co">#&gt; [1] "21066-6" "3355-5" "33562-0" "33919-2" "43883-8" "43884-6" "87604-5"</span>
<span class="fu"><a href="../reference/ab_property.html">ab_name</a></span>(<span class="st">"21066-6"</span>)
@ -521,7 +538,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>Support for SNOMED CT codes in the <code>microorganisms</code> data set. Use <code><a href="../reference/mo_property.html">mo_snomed()</a></code> to retrieve SNOMED codes, or use a SNOMED code for input in any <code>mo_*</code> function:</p>
<div class="sourceCode" id="cb6"><pre class="downlit">
<div class="sourceCode" id="cb7"><pre class="downlit">
<span class="fu"><a href="../reference/mo_property.html">mo_snomed</a></span>(<span class="st">"S. aureus"</span>)
<span class="co">#&gt; [1] 115329001 3092008 113961008</span>
<span class="fu"><a href="../reference/mo_property.html">mo_name</a></span>(<span class="fl">115329001</span>)
@ -586,11 +603,11 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>If you were dependent on the old Enterobacteriaceae family e.g. by using in your code:</p>
<div class="sourceCode" id="cb7"><pre class="downlit">
<div class="sourceCode" id="cb8"><pre class="downlit">
<span class="co">if</span> (<span class="fu"><a href="../reference/mo_property.html">mo_family</a></span>(<span class="kw">somebugs</span>) <span class="op">==</span> <span class="st">"Enterobacteriaceae"</span>) <span class="kw">...</span>
</pre></div>
<p>then please adjust this to:</p>
<div class="sourceCode" id="cb8"><pre class="downlit">
<div class="sourceCode" id="cb9"><pre class="downlit">
<span class="co">if</span> (<span class="fu"><a href="../reference/mo_property.html">mo_order</a></span>(<span class="kw">somebugs</span>) <span class="op">==</span> <span class="st">"Enterobacterales"</span>) <span class="kw">...</span>
</pre></div>
</li>
@ -604,7 +621,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Functions <code><a href="../reference/proportion.html">susceptibility()</a></code> and <code><a href="../reference/proportion.html">resistance()</a></code> as aliases of <code><a href="../reference/proportion.html">proportion_SI()</a></code> and <code><a href="../reference/proportion.html">proportion_R()</a></code>, respectively. These functions were added to make it more clear that “I” should be considered susceptible and not resistant.</p>
<div class="sourceCode" id="cb9"><pre class="downlit">
<div class="sourceCode" id="cb10"><pre class="downlit">
<span class="fu"><a href="https://rdrr.io/r/base/library.html">library</a></span>(<span class="kw"><a href="https://dplyr.tidyverse.org">dplyr</a></span>)
<span class="kw">example_isolates</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_by.html">group_by</a></span>(bug = <span class="fu"><a href="../reference/mo_property.html">mo_name</a></span>(<span class="kw">mo</span>)) <span class="op">%&gt;%</span>
@ -633,7 +650,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>More intelligent way of coping with some consonants like “l” and “r”</p></li>
<li>
<p>Added a score (a certainty percentage) to <code><a href="../reference/as.mo.html">mo_uncertainties()</a></code>, that is calculated using the <a href="https://en.wikipedia.org/wiki/Levenshtein_distance">Levenshtein distance</a>:</p>
<div class="sourceCode" id="cb10"><pre class="downlit">
<div class="sourceCode" id="cb11"><pre class="downlit">
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span>(<span class="st">"Stafylococcus aureus"</span>,
<span class="st">"staphylokok aureuz"</span>))
<span class="co">#&gt; Warning: </span>
@ -692,14 +709,14 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Determination of first isolates now <strong>excludes</strong> all unknown microorganisms at default, i.e. microbial code <code>"UNKNOWN"</code>. They can be included with the new parameter <code>include_unknown</code>:</p>
<div class="sourceCode" id="cb11"><pre class="downlit">
<div class="sourceCode" id="cb12"><pre class="downlit">
<span class="fu"><a href="../reference/first_isolate.html">first_isolate</a></span>(<span class="kw">...</span>, include_unknown = <span class="fl">TRUE</span>)
</pre></div>
<p>For WHONET users, this means that all records/isolates with organism code <code>"con"</code> (<em>contamination</em>) will be excluded at default, since <code>as.mo("con") = "UNKNOWN"</code>. The function always shows a note with the number of unknown microorganisms that were included or excluded.</p>
</li>
<li>
<p>For code consistency, classes <code>ab</code> and <code>mo</code> will now be preserved in any subsetting or assignment. For the sake of data integrity, this means that invalid assignments will now result in <code>NA</code>:</p>
<div class="sourceCode" id="cb12"><pre class="downlit">
<div class="sourceCode" id="cb13"><pre class="downlit">
<span class="co"># how it works in base R:</span>
<span class="kw">x</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html">factor</a></span>(<span class="st">"A"</span>)
<span class="kw">x</span>[<span class="fl">1</span>] <span class="op">&lt;-</span> <span class="st">"B"</span>
@ -724,7 +741,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Function <code><a href="../reference/bug_drug_combinations.html">bug_drug_combinations()</a></code> to quickly get a <code>data.frame</code> with the results of all bug-drug combinations in a data set. The column containing microorganism codes is guessed automatically and its input is transformed with <code><a href="../reference/mo_property.html">mo_shortname()</a></code> at default:</p>
<div class="sourceCode" id="cb13"><pre class="downlit">
<div class="sourceCode" id="cb14"><pre class="downlit">
<span class="kw">x</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/bug_drug_combinations.html">bug_drug_combinations</a></span>(<span class="kw">example_isolates</span>)
<span class="co">#&gt; NOTE: Using column `mo` as input for `col_mo`.</span>
<span class="kw">x</span>[<span class="fl">1</span><span class="op">:</span><span class="fl">4</span>, ]
@ -747,13 +764,13 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<span class="co">#&gt; NOTE: Use 'format()' on this result to get a publicable/printable format.</span>
</pre></div>
<p>You can format this to a printable format, ready for reporting or exporting to e.g. Excel with the base R <code><a href="https://rdrr.io/r/base/format.html">format()</a></code> function:</p>
<div class="sourceCode" id="cb14"><pre class="downlit">
<div class="sourceCode" id="cb15"><pre class="downlit">
<span class="fu"><a href="https://rdrr.io/r/base/format.html">format</a></span>(<span class="kw">x</span>, combine_IR = <span class="fl">FALSE</span>)
</pre></div>
</li>
<li>
<p>Additional way to calculate co-resistance, i.e. when using multiple antimicrobials as input for <code>portion_*</code> functions or <code>count_*</code> functions. This can be used to determine the empiric susceptibility of a combination therapy. A new parameter <code>only_all_tested</code> (<strong>which defaults to <code>FALSE</code></strong>) replaces the old <code>also_single_tested</code> and can be used to select one of the two methods to count isolates and calculate portions. The difference can be seen in this example table (which is also on the <code>portion</code> and <code>count</code> help pages), where the %SI is being determined:</p>
<div class="sourceCode" id="cb15"><pre class="downlit">
<div class="sourceCode" id="cb16"><pre class="downlit">
<span class="co"># --------------------------------------------------------------------</span>
<span class="co"># only_all_tested = FALSE only_all_tested = TRUE</span>
<span class="co"># ----------------------- -----------------------</span>
@ -775,7 +792,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p><code>tibble</code> printing support for classes <code>rsi</code>, <code>mic</code>, <code>disk</code>, <code>ab</code> <code>mo</code>. When using <code>tibble</code>s containing antimicrobial columns, values <code>S</code> will print in green, values <code>I</code> will print in yellow and values <code>R</code> will print in red. Microbial IDs (class <code>mo</code>) will emphasise on the genus and species, not on the kingdom.</p>
<div class="sourceCode" id="cb16"><pre class="downlit">
<div class="sourceCode" id="cb17"><pre class="downlit">
<span class="co"># (run this on your own console, as this page does not support colour printing)</span>
<span class="fu"><a href="https://rdrr.io/r/base/library.html">library</a></span>(<span class="kw"><a href="https://dplyr.tidyverse.org">dplyr</a></span>)
<span class="kw">example_isolates</span> <span class="op">%&gt;%</span>
@ -858,7 +875,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Function <code><a href="../reference/proportion.html">rsi_df()</a></code> to transform a <code>data.frame</code> to a data set containing only the microbial interpretation (S, I, R), the antibiotic, the percentage of S/I/R and the number of available isolates. This is a convenient combination of the existing functions <code><a href="../reference/count.html">count_df()</a></code> and <code><a href="../reference/AMR-deprecated.html">portion_df()</a></code> to immediately show resistance percentages and number of available isolates:</p>
<div class="sourceCode" id="cb17"><pre class="downlit">
<div class="sourceCode" id="cb18"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html">select</a></span>(<span class="kw">AMX</span>, <span class="kw">CIP</span>) <span class="op">%&gt;%</span>
<span class="fu"><a href="../reference/proportion.html">rsi_df</a></span>()
@ -885,7 +902,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li>UPEC (Uropathogenic <em>E. coli</em>)</li>
</ul>
<p>All these lead to the microbial ID of <em>E. coli</em>:</p>
<div class="sourceCode" id="cb18"><pre class="downlit">
<div class="sourceCode" id="cb19"><pre class="downlit">
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="st">"UPEC"</span>)
<span class="co"># B_ESCHR_COL</span>
<span class="fu"><a href="../reference/mo_property.html">mo_name</a></span>(<span class="st">"UPEC"</span>)
@ -990,7 +1007,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>when all values are unique it now shows a message instead of a warning</p></li>
<li>
<p>support for boxplots:</p>
<div class="sourceCode" id="cb19"><pre class="downlit">
<div class="sourceCode" id="cb20"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
<span class="fu">freq</span>(<span class="kw">age</span>) <span class="op">%&gt;%</span>
<span class="fu"><a href="https://rdrr.io/r/graphics/boxplot.html">boxplot</a></span>()
@ -1085,7 +1102,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>New filters for antimicrobial classes. Use these functions to filter isolates on results in one of more antibiotics from a specific class:</p>
<div class="sourceCode" id="cb20"><pre class="downlit">
<div class="sourceCode" id="cb21"><pre class="downlit">
<span class="fu"><a href="../reference/filter_ab_class.html">filter_aminoglycosides</a></span>()
<span class="fu"><a href="../reference/filter_ab_class.html">filter_carbapenems</a></span>()
<span class="fu"><a href="../reference/filter_ab_class.html">filter_cephalosporins</a></span>()
@ -1099,7 +1116,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<span class="fu"><a href="../reference/filter_ab_class.html">filter_tetracyclines</a></span>()
</pre></div>
<p>The <code>antibiotics</code> data set will be searched, after which the input data will be checked for column names with a value in any abbreviations, codes or official names found in the <code>antibiotics</code> data set. For example:</p>
<div class="sourceCode" id="cb21"><pre class="downlit">
<div class="sourceCode" id="cb22"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span> <span class="fu"><a href="../reference/filter_ab_class.html">filter_glycopeptides</a></span>(result = <span class="st">"R"</span>)
<span class="co"># Filtering on glycopeptide antibacterials: any of `vanc` or `teic` is R</span>
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span> <span class="fu"><a href="../reference/filter_ab_class.html">filter_glycopeptides</a></span>(result = <span class="st">"R"</span>, scope = <span class="st">"all"</span>)
@ -1108,7 +1125,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>All <code>ab_*</code> functions are deprecated and replaced by <code>atc_*</code> functions:</p>
<div class="sourceCode" id="cb22"><pre class="downlit">
<div class="sourceCode" id="cb23"><pre class="downlit">
<span class="kw">ab_property</span> <span class="op">-&gt;</span> <span class="fu">atc_property</span>()
<span class="kw">ab_name</span> <span class="op">-&gt;</span> <span class="fu">atc_name</span>()
<span class="kw">ab_official</span> <span class="op">-&gt;</span> <span class="fu">atc_official</span>()
@ -1129,7 +1146,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>New function <code><a href="../reference/age_groups.html">age_groups()</a></code> to split ages into custom or predefined groups (like children or elderly). This allows for easier demographic antimicrobial resistance analysis per age group.</p></li>
<li>
<p>New function <code><a href="../reference/resistance_predict.html">ggplot_rsi_predict()</a></code> as well as the base R <code><a href="https://rdrr.io/r/graphics/plot.default.html">plot()</a></code> function can now be used for resistance prediction calculated with <code><a href="../reference/resistance_predict.html">resistance_predict()</a></code>:</p>
<div class="sourceCode" id="cb23"><pre class="downlit">
<div class="sourceCode" id="cb24"><pre class="downlit">
<span class="kw">x</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/resistance_predict.html">resistance_predict</a></span>(<span class="kw">septic_patients</span>, col_ab = <span class="st">"amox"</span>)
<span class="fu"><a href="https://rdrr.io/r/graphics/plot.default.html">plot</a></span>(<span class="kw">x</span>)
<span class="fu"><a href="../reference/resistance_predict.html">ggplot_rsi_predict</a></span>(<span class="kw">x</span>)
@ -1137,13 +1154,13 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>Functions <code><a href="../reference/first_isolate.html">filter_first_isolate()</a></code> and <code><a href="../reference/first_isolate.html">filter_first_weighted_isolate()</a></code> to shorten and fasten filtering on data sets with antimicrobial results, e.g.:</p>
<div class="sourceCode" id="cb24"><pre class="downlit">
<div class="sourceCode" id="cb25"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span> <span class="fu"><a href="../reference/first_isolate.html">filter_first_isolate</a></span>(<span class="kw">...</span>)
<span class="co"># or</span>
<span class="fu"><a href="../reference/first_isolate.html">filter_first_isolate</a></span>(<span class="kw">septic_patients</span>, <span class="kw">...</span>)
</pre></div>
<p>is equal to:</p>
<div class="sourceCode" id="cb25"><pre class="downlit">
<div class="sourceCode" id="cb26"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html">mutate</a></span>(only_firsts = <span class="fu"><a href="../reference/first_isolate.html">first_isolate</a></span>(<span class="kw">septic_patients</span>, <span class="kw">...</span>)) <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/filter.html">filter</a></span>(<span class="kw">only_firsts</span> <span class="op">==</span> <span class="fl">TRUE</span>) <span class="op">%&gt;%</span>
@ -1176,7 +1193,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Now handles incorrect spelling, like <code>i</code> instead of <code>y</code> and <code>f</code> instead of <code>ph</code>:</p>
<div class="sourceCode" id="cb26"><pre class="downlit">
<div class="sourceCode" id="cb27"><pre class="downlit">
<span class="co"># mo_fullname() uses as.mo() internally</span>
<span class="fu"><a href="../reference/mo_property.html">mo_fullname</a></span>(<span class="st">"Sthafilokockus aaureuz"</span>)
@ -1188,7 +1205,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>Uncertainty of the algorithm is now divided into four levels, 0 to 3, where the default <code>allow_uncertain = TRUE</code> is equal to uncertainty level 2. Run <code><a href="../reference/as.mo.html">?as.mo</a></code> for more info about these levels.</p>
<div class="sourceCode" id="cb27"><pre class="downlit">
<div class="sourceCode" id="cb28"><pre class="downlit">
<span class="co"># equal:</span>
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="kw">...</span>, allow_uncertain = <span class="fl">TRUE</span>)
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="kw">...</span>, allow_uncertain = <span class="fl">2</span>)
@ -1203,7 +1220,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>All microbial IDs that found are now saved to a local file <code>~/.Rhistory_mo</code>. Use the new function <code>clean_mo_history()</code> to delete this file, which resets the algorithms.</p></li>
<li>
<p>Incoercible results will now be considered unknown, MO code <code>UNKNOWN</code>. On foreign systems, properties of these will be translated to all languages already previously supported: German, Dutch, French, Italian, Spanish and Portuguese:</p>
<div class="sourceCode" id="cb28"><pre class="downlit">
<div class="sourceCode" id="cb29"><pre class="downlit">
<span class="fu"><a href="../reference/mo_property.html">mo_genus</a></span>(<span class="st">"qwerty"</span>, language = <span class="st">"es"</span>)
<span class="co"># Warning: </span>
<span class="co"># one unique value (^= 100.0%) could not be coerced and is considered 'unknown': "qwerty". Use mo_failures() to review it.</span>
@ -1253,7 +1270,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Support for tidyverse quasiquotation! Now you can create frequency tables of function outcomes:</p>
<div class="sourceCode" id="cb29"><pre class="downlit">
<div class="sourceCode" id="cb30"><pre class="downlit">
<span class="co"># Determine genus of microorganisms (mo) in `septic_patients` data set:</span>
<span class="co"># OLD WAY</span>
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
@ -1337,7 +1354,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Fewer than 3 characters as input for <code>as.mo</code> will return NA</p></li>
<li>
<p>Function <code>as.mo</code> (and all <code>mo_*</code> wrappers) now supports genus abbreviations with “species” attached</p>
<div class="sourceCode" id="cb30"><pre class="downlit">
<div class="sourceCode" id="cb31"><pre class="downlit">
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="st">"E. species"</span>) <span class="co"># B_ESCHR</span>
<span class="fu"><a href="../reference/mo_property.html">mo_fullname</a></span>(<span class="st">"E. spp."</span>) <span class="co"># "Escherichia species"</span>
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="st">"S. spp"</span>) <span class="co"># B_STPHY</span>
@ -1354,7 +1371,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<ul>
<li>
<p>Support for grouping variables, test with:</p>
<div class="sourceCode" id="cb31"><pre class="downlit">
<div class="sourceCode" id="cb32"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_by.html">group_by</a></span>(<span class="kw">hospital_id</span>) <span class="op">%&gt;%</span>
<span class="fu">freq</span>(<span class="kw">gender</span>)
@ -1362,7 +1379,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
<li>
<p>Support for (un)selecting columns:</p>
<div class="sourceCode" id="cb32"><pre class="downlit">
<div class="sourceCode" id="cb33"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span>
<span class="fu">freq</span>(<span class="kw">hospital_id</span>) <span class="op">%&gt;%</span>
<span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html">select</a></span>(<span class="op">-</span><span class="kw">count</span>, <span class="op">-</span><span class="kw">cum_count</span>) <span class="co"># only get item, percent, cum_percent</span>
@ -1442,7 +1459,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
</li>
</ul>
<p>They also come with support for German, Dutch, French, Italian, Spanish and Portuguese:</p>
<div class="sourceCode" id="cb33"><pre class="downlit">
<div class="sourceCode" id="cb34"><pre class="downlit">
<span class="fu"><a href="../reference/mo_property.html">mo_gramstain</a></span>(<span class="st">"E. coli"</span>)
<span class="co"># [1] "Gram negative"</span>
<span class="fu"><a href="../reference/mo_property.html">mo_gramstain</a></span>(<span class="st">"E. coli"</span>, language = <span class="st">"de"</span>) <span class="co"># German</span>
@ -1453,7 +1470,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<span class="co"># [1] "Streptococcus grupo A"</span>
</pre></div>
<p>Furthermore, former taxonomic names will give a note about the current taxonomic name:</p>
<div class="sourceCode" id="cb34"><pre class="downlit">
<div class="sourceCode" id="cb35"><pre class="downlit">
<span class="fu"><a href="../reference/mo_property.html">mo_gramstain</a></span>(<span class="st">"Esc blattae"</span>)
<span class="co"># Note: 'Escherichia blattae' (Burgess et al., 1973) was renamed 'Shimwellia blattae' (Priest and Barker, 2010)</span>
<span class="co"># [1] "Gram negative"</span>
@ -1468,7 +1485,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Function <code>is.rsi.eligible</code> to check for columns that have valid antimicrobial results, but do not have the <code>rsi</code> class yet. Transform the columns of your raw data with: <code>data %&gt;% mutate_if(is.rsi.eligible, as.rsi)</code></p></li>
<li>
<p>Functions <code>as.mo</code> and <code>is.mo</code> as replacements for <code>as.bactid</code> and <code>is.bactid</code> (since the <code>microoganisms</code> data set not only contains bacteria). These last two functions are deprecated and will be removed in a future release. The <code>as.mo</code> function determines microbial IDs using intelligent rules:</p>
<div class="sourceCode" id="cb35"><pre class="downlit">
<div class="sourceCode" id="cb36"><pre class="downlit">
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="st">"E. coli"</span>)
<span class="co"># [1] B_ESCHR_COL</span>
<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="st">"MRSA"</span>)
@ -1477,7 +1494,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<span class="co"># [1] B_STRPTC_GRA</span>
</pre></div>
<p>And with great speed too - on a quite regular Linux server from 2007 it takes us less than 0.02 seconds to transform 25,000 items:</p>
<div class="sourceCode" id="cb36"><pre class="downlit">
<div class="sourceCode" id="cb37"><pre class="downlit">
<span class="kw">thousands_of_E_colis</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/rep.html">rep</a></span>(<span class="st">"E. coli"</span>, <span class="fl">25000</span>)
<span class="kw">microbenchmark</span>::<span class="fu"><a href="https://rdrr.io/pkg/microbenchmark/man/microbenchmark.html">microbenchmark</a></span>(<span class="fu"><a href="../reference/as.mo.html">as.mo</a></span>(<span class="kw">thousands_of_E_colis</span>), unit = <span class="st">"s"</span>)
<span class="co"># Unit: seconds</span>
@ -1511,7 +1528,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Added three antimicrobial agents to the <code>antibiotics</code> data set: Terbinafine (D01BA02), Rifaximin (A07AA11) and Isoconazole (D01AC05)</p></li>
<li>
<p>Added 163 trade names to the <code>antibiotics</code> data set, it now contains 298 different trade names in total, e.g.:</p>
<div class="sourceCode" id="cb37"><pre class="downlit">
<div class="sourceCode" id="cb38"><pre class="downlit">
<span class="fu">ab_official</span>(<span class="st">"Bactroban"</span>)
<span class="co"># [1] "Mupirocin"</span>
<span class="fu"><a href="../reference/ab_property.html">ab_name</a></span>(<span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span>(<span class="st">"Bactroban"</span>, <span class="st">"Amoxil"</span>, <span class="st">"Zithromax"</span>, <span class="st">"Floxapen"</span>))
@ -1528,7 +1545,7 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Added parameters <code>minimum</code> and <code>as_percent</code> to <code>portion_df</code></p></li>
<li>
<p>Support for quasiquotation in the functions series <code>count_*</code> and <code>portions_*</code>, and <code>n_rsi</code>. This allows to check for more than 2 vectors or columns.</p>
<div class="sourceCode" id="cb38"><pre class="downlit">
<div class="sourceCode" id="cb39"><pre class="downlit">
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html">select</a></span>(<span class="kw">amox</span>, <span class="kw">cipr</span>) <span class="op">%&gt;%</span> <span class="fu"><a href="../reference/count.html">count_IR</a></span>()
<span class="co"># which is the same as:</span>
<span class="kw">septic_patients</span> <span class="op">%&gt;%</span> <span class="fu"><a href="../reference/count.html">count_IR</a></span>(<span class="kw">amox</span>, <span class="kw">cipr</span>)
@ -1548,12 +1565,12 @@ This works for all drug combinations, such as ampicillin/sulbactam, ceftazidime/
<li><p>Added longest en shortest character length in the frequency table (<code>freq</code>) header of class <code>character</code></p></li>
<li>
<p>Support for types (classes) list and matrix for <code>freq</code></p>
<div class="sourceCode" id="cb39"><pre class="downlit">
<div class="sourceCode" id="cb40"><pre class="downlit">
<span class="kw">my_matrix</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/with.html">with</a></span>(<span class="kw">septic_patients</span>, <span class="fu"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span>(<span class="kw">age</span>, <span class="kw">gender</span>), ncol = <span class="fl">2</span>))
<span class="fu">freq</span>(<span class="kw">my_matrix</span>)
</pre></div>
<p>For lists, subsetting is possible:</p>
<div class="sourceCode" id="cb40"><pre class="downlit">
<div class="sourceCode" id="cb41"><pre class="downlit">
<span class="kw">my_list</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html">list</a></span>(age = <span class="kw">septic_patients</span><span class="op">$</span><span class="kw">age</span>, gender = <span class="kw">septic_patients</span><span class="op">$</span><span class="kw">gender</span>)
<span class="kw">my_list</span> <span class="op">%&gt;%</span> <span class="fu">freq</span>(<span class="kw">age</span>)
<span class="kw">my_list</span> <span class="op">%&gt;%</span> <span class="fu">freq</span>(<span class="kw">gender</span>)

View File

@ -2,7 +2,7 @@ pandoc: 2.7.3
pkgdown: 1.5.1.9000
pkgdown_sha: eae56f08694abebf93cdfc0dd8e9ede06d8c815f
articles: []
last_built: 2020-08-15T10:52Z
last_built: 2020-08-16T19:34Z
urls:
reference: https://msberends.github.io/AMR/reference
article: https://msberends.github.io/AMR/articles

View File

@ -82,7 +82,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9002</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -118,6 +118,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>
@ -249,6 +256,7 @@
guideline = <span class='st'>"EUCAST"</span>,
uti = <span class='fl'>FALSE</span>,
conserve_capped_values = <span class='fl'>FALSE</span>,
add_intrinsic_resistance = <span class='fl'>FALSE</span>,
<span class='kw'>...</span>
)
@ -259,6 +267,7 @@
ab = <span class='fu'><a href='https://rdrr.io/r/base/deparse.html'>deparse</a></span>(<span class='fu'><a href='https://rdrr.io/r/base/substitute.html'>substitute</a></span>(<span class='kw'>x</span>)),
guideline = <span class='st'>"EUCAST"</span>,
uti = <span class='fl'>FALSE</span>,
add_intrinsic_resistance = <span class='fl'>FALSE</span>,
<span class='kw'>...</span>
)
@ -269,6 +278,7 @@
guideline = <span class='st'>"EUCAST"</span>,
uti = <span class='kw'>NULL</span>,
conserve_capped_values = <span class='fl'>FALSE</span>,
add_intrinsic_resistance = <span class='fl'>FALSE</span>,
<span class='kw'>...</span>
)</pre>
@ -307,6 +317,10 @@
<th>conserve_capped_values</th>
<td><p>a logical to indicate that MIC values starting with <code>"&gt;"</code> (but not <code>"&gt;="</code>) must always return "R" , and that MIC values starting with <code>"&lt;"</code> (but not <code>"&lt;="</code>) must always return "S"</p></td>
</tr>
<tr>
<th>add_intrinsic_resistance</th>
<td><p><em>(only useful when using a EUCAST guideline)</em> a logical to indicate whether intrinsic antibiotic resistance must also be considered for applicable bug-drug combinations, meaning that e.g. ampicillin will always return "R" in <em>Klebsiella</em> species. Determination is based on the <a href='intrinsic_resistant.html'>intrinsic_resistant</a> data set, that itself is based on 'EUCAST Expert Rules, Intrinsic Resistance and Exceptional Phenotypes', version 3.1, 2016.</p></td>
</tr>
<tr>
<th>col_mo</th>
<td><p>column name of the IDs of the microorganisms (see <code><a href='as.mo.html'>as.mo()</a></code>), defaults to the first column of class <code><a href='as.mo.html'>mo</a></code>. Values will be coerced using <code><a href='as.mo.html'>as.mo()</a></code>.</p></td>
@ -406,6 +420,9 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<span class='co'># the dplyr way</span>
<span class='fu'><a href='https://rdrr.io/r/base/library.html'>library</a></span>(<span class='kw'><a href='https://dplyr.tidyverse.org'>dplyr</a></span>)
<span class='kw'>df</span> <span class='op'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate_all.html'>mutate_if</a></span>(<span class='kw'>is.mic</span>, <span class='kw'>as.rsi</span>)
<span class='kw'>df</span> <span class='op'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate_all.html'>mutate_if</a></span>(<span class='fu'>function</span>(<span class='kw'>x</span>) <span class='fu'><a href='as.mic.html'>is.mic</a></span>(<span class='kw'>x</span>) <span class='op'>|</span> <span class='fu'><a href='as.disk.html'>is.disk</a></span>(<span class='kw'>x</span>), <span class='kw'>as.rsi</span>)
<span class='kw'>df</span> <span class='op'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate.html'>mutate</a></span>(<span class='fu'><a href='https://dplyr.tidyverse.org/reference/across.html'>across</a></span>(<span class='fu'>where</span>(<span class='kw'>is.mic</span>), <span class='kw'>as.rsi</span>))
<span class='kw'>df</span> <span class='op'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate_all.html'>mutate_at</a></span>(<span class='fu'><a href='https://dplyr.tidyverse.org/reference/vars.html'>vars</a></span>(<span class='kw'>AMP</span><span class='op'>:</span><span class='kw'>TOB</span>), <span class='kw'>as.rsi</span>)
<span class='kw'>df</span> <span class='op'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate.html'>mutate</a></span>(<span class='fu'><a href='https://dplyr.tidyverse.org/reference/across.html'>across</a></span>(<span class='kw'>AMP</span><span class='op'>:</span><span class='kw'>TOB</span>), <span class='kw'>as.rsi</span>)

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>

View File

@ -82,7 +82,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -118,6 +118,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>

View File

@ -49,7 +49,7 @@
<script src="../extra.js"></script>
<meta property="og:title" content="Data set for R/SI interpretation — rsi_translation" />
<meta property="og:description" content="Data set to interpret MIC and disk diffusion to R/SI values. Included guidelines are CLSI (2011-2019) and EUCAST (2011-2020). Use as.rsi() to transform MICs or disks measurements to R/SI values." />
<meta property="og:description" content="Data set to interpret MIC and disk diffusion to R/SI values. Included guidelines are CLSI (2010-2019) and EUCAST (2011-2020). Use as.rsi() to transform MICs or disks measurements to R/SI values." />
<meta property="og:image" content="https://msberends.github.io/AMR/logo.svg" />
@ -82,7 +82,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -118,6 +118,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="../articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="../articles/PCA.html">
<span class="fa fa-compress"></span>
@ -232,7 +239,7 @@
</div>
<div class="ref-description">
<p>Data set to interpret MIC and disk diffusion to R/SI values. Included guidelines are CLSI (2011-2019) and EUCAST (2011-2020). Use <code><a href='as.rsi.html'>as.rsi()</a></code> to transform MICs or disks measurements to R/SI values.</p>
<p>Data set to interpret MIC and disk diffusion to R/SI values. Included guidelines are CLSI (2010-2019) and EUCAST (2011-2020). Use <code><a href='as.rsi.html'>as.rsi()</a></code> to transform MICs or disks measurements to R/SI values.</p>
</div>
<pre class="usage"><span class='kw'>rsi_translation</span></pre>

View File

@ -171,6 +171,9 @@
<url>
<loc>https://msberends.github.io/AMR/articles/benchmarks.html</loc>
</url>
<url>
<loc>https://msberends.github.io/AMR/articles/datasets.html</loc>
</url>
<url>
<loc>https://msberends.github.io/AMR/articles/resistance_predict.html</loc>
</url>

View File

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9003</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.3.0.9004</span>
</span>
</div>
@ -117,6 +117,13 @@
Predict antimicrobial resistance
</a>
</li>
<li>
<a href="articles/datasets.html">
<span class="fa fa-database"></span>
Download our free data sets
</a>
</li>
<li>
<a href="articles/PCA.html">
<span class="fa fa-compress"></span>