mirror of
https://github.com/msberends/AMR.git
synced 2024-12-27 13:26:11 +01:00
387 lines
16 KiB
HTML
387 lines
16 KiB
HTML
<!-- Generated by pkgdown: do not edit by hand -->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<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>Function reference • AMR</title>
|
|
|
|
<!-- jquery -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
|
<!-- Bootstrap -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
|
|
|
|
<!-- Font Awesome icons -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
|
|
|
<!-- clipboard.js -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
|
|
|
|
<!-- sticky kit -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
|
|
|
|
<!-- pkgdown -->
|
|
<link href="../pkgdown.css" rel="stylesheet">
|
|
<script src="../pkgdown.js"></script>
|
|
|
|
|
|
|
|
<meta property="og:title" content="Function reference" />
|
|
|
|
|
|
|
|
<!-- 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>
|
|
<div class="container template-reference-index">
|
|
<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</a>
|
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.5.0.9007</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 fa-lg"></span>
|
|
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="../articles/AMR.html">Get started</a>
|
|
</li>
|
|
<li>
|
|
<a href="../reference/index.html">Reference</a>
|
|
</li>
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
|
Articles
|
|
|
|
<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu" role="menu">
|
|
<li>
|
|
<a href="../articles/freq.html">Creating Frequency Tables</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="../news/index.html">Changelog</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
</ul>
|
|
|
|
</div><!--/.nav-collapse -->
|
|
</div><!--/.container -->
|
|
</div><!--/.navbar -->
|
|
|
|
|
|
</header>
|
|
|
|
<div class="row">
|
|
<div class="contents col-md-9">
|
|
<div class="page-header">
|
|
<h1>Reference</h1>
|
|
</div>
|
|
|
|
<table class="ref-index">
|
|
|
|
<colgroup>
|
|
|
|
<col class="alias" />
|
|
<col class="title" />
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th colspan="2">
|
|
<h2 id="section-all-functions" class="hasAnchor"><a href="#section-all-functions" class="anchor"></a>All functions</h2>
|
|
<p class="section-desc"></p>
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td>
|
|
<p><code><a href="AMR.html">AMR</a></code> </p>
|
|
</td>
|
|
<td><p>The <code>AMR</code> Package</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="ab_property.html">ab_property()</a></code> <code><a href="ab_property.html">ab_atc()</a></code> <code><a href="ab_property.html">ab_official()</a></code> <code><a href="ab_property.html">ab_name()</a></code> <code><a href="ab_property.html">ab_trivial_nl()</a></code> <code><a href="ab_property.html">ab_certe()</a></code> <code><a href="ab_property.html">ab_umcg()</a></code> <code><a href="ab_property.html">ab_tradenames()</a></code> </p>
|
|
</td>
|
|
<td><p>Property of an antibiotic</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="abname.html">abname()</a></code> </p>
|
|
</td>
|
|
<td><p>Name of an antibiotic</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="age.html">age()</a></code> </p>
|
|
</td>
|
|
<td><p>Age in years of individuals</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="age_groups.html">age_groups()</a></code> </p>
|
|
</td>
|
|
<td><p>Split ages into age groups</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="antibiotics.html">antibiotics</a></code> </p>
|
|
</td>
|
|
<td><p>Data set with 423 antibiotics</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="as.atc.html">as.atc()</a></code> <code><a href="as.atc.html">guess_atc()</a></code> <code><a href="as.atc.html">is.atc()</a></code> </p>
|
|
</td>
|
|
<td><p>Transform to ATC code</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="as.mic.html">as.mic()</a></code> <code><a href="as.mic.html">is.mic()</a></code> </p>
|
|
</td>
|
|
<td><p>Class 'mic'</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="as.mo.html">as.mo()</a></code> <code><a href="as.mo.html">is.mo()</a></code> <code><a href="as.mo.html">guess_mo()</a></code> </p>
|
|
</td>
|
|
<td><p>Transform to microorganism ID</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="as.rsi.html">as.rsi()</a></code> <code><a href="as.rsi.html">is.rsi()</a></code> <code><a href="as.rsi.html">is.rsi.eligible()</a></code> </p>
|
|
</td>
|
|
<td><p>Class 'rsi'</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="atc_property.html">atc_property()</a></code> <code><a href="atc_property.html">atc_groups()</a></code> <code><a href="atc_property.html">atc_ddd()</a></code> </p>
|
|
</td>
|
|
<td><p>Properties of an ATC code</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="count.html">count_R()</a></code> <code><a href="count.html">count_IR()</a></code> <code><a href="count.html">count_I()</a></code> <code><a href="count.html">count_SI()</a></code> <code><a href="count.html">count_S()</a></code> <code><a href="count.html">count_all()</a></code> <code><a href="count.html">n_rsi()</a></code> <code><a href="count.html">count_df()</a></code> </p>
|
|
</td>
|
|
<td><p>Count isolates</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="eucast_rules.html">eucast_rules()</a></code> <code><a href="eucast_rules.html">EUCAST_rules()</a></code> <code><a href="eucast_rules.html">interpretive_reading()</a></code> </p>
|
|
</td>
|
|
<td><p>EUCAST rules</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="first_isolate.html">first_isolate()</a></code> <code><a href="first_isolate.html">filter_first_isolate()</a></code> <code><a href="first_isolate.html">filter_first_weighted_isolate()</a></code> </p>
|
|
</td>
|
|
<td><p>Determine first (weighted) isolates</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="freq.html">frequency_tbl()</a></code> <code><a href="freq.html">freq()</a></code> <code><a href="freq.html">top_freq()</a></code> <code><a href="freq.html">print(<i><frequency_tbl></i>)</a></code> </p>
|
|
</td>
|
|
<td><p>Frequency table</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="g.test.html">g.test()</a></code> </p>
|
|
</td>
|
|
<td><p><em>G</em>-test for Count Data</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="get_locale.html">get_locale()</a></code> </p>
|
|
</td>
|
|
<td><p>Get language for AMR</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="ggplot_rsi.html">ggplot_rsi()</a></code> <code><a href="ggplot_rsi.html">geom_rsi()</a></code> <code><a href="ggplot_rsi.html">facet_rsi()</a></code> <code><a href="ggplot_rsi.html">scale_y_percent()</a></code> <code><a href="ggplot_rsi.html">scale_rsi_colours()</a></code> <code><a href="ggplot_rsi.html">theme_rsi()</a></code> <code><a href="ggplot_rsi.html">labels_rsi_count()</a></code> </p>
|
|
</td>
|
|
<td><p>AMR bar plots with <code>ggplot</code></p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="join.html">inner_join_microorganisms()</a></code> <code><a href="join.html">left_join_microorganisms()</a></code> <code><a href="join.html">right_join_microorganisms()</a></code> <code><a href="join.html">full_join_microorganisms()</a></code> <code><a href="join.html">semi_join_microorganisms()</a></code> <code><a href="join.html">anti_join_microorganisms()</a></code> </p>
|
|
</td>
|
|
<td><p>Join a table with <code>microorganisms</code></p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="key_antibiotics.html">key_antibiotics()</a></code> <code><a href="key_antibiotics.html">key_antibiotics_equal()</a></code> </p>
|
|
</td>
|
|
<td><p>Key antibiotics for first <em>weighted</em> isolates</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="kurtosis.html">kurtosis()</a></code> </p>
|
|
</td>
|
|
<td><p>Kurtosis of the sample</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="like.html">like()</a></code> <code><a href="like.html">`%like%`</a></code> </p>
|
|
</td>
|
|
<td><p>Pattern Matching</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="mdro.html">mdro()</a></code> <code><a href="mdro.html">brmo()</a></code> <code><a href="mdro.html">mrgn()</a></code> <code><a href="mdro.html">eucast_exceptional_phenotypes()</a></code> </p>
|
|
</td>
|
|
<td><p>Determine multidrug-resistant organisms (MDRO)</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="microorganisms.html">microorganisms</a></code> </p>
|
|
</td>
|
|
<td><p>Data set with taxonomic data from ITIS</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="microorganisms.certe.html">microorganisms.certe</a></code> </p>
|
|
</td>
|
|
<td><p>Translation table for Certe</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="microorganisms.old.html">microorganisms.old</a></code> </p>
|
|
</td>
|
|
<td><p>Data set with old taxonomic data from ITIS</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="microorganisms.umcg.html">microorganisms.umcg</a></code> </p>
|
|
</td>
|
|
<td><p>Translation table for UMCG</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="mo_failures.html">mo_failures()</a></code> </p>
|
|
</td>
|
|
<td><p>Vector of failed coercion attempts</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="mo_property.html">mo_fullname()</a></code> <code><a href="mo_property.html">mo_shortname()</a></code> <code><a href="mo_property.html">mo_subspecies()</a></code> <code><a href="mo_property.html">mo_species()</a></code> <code><a href="mo_property.html">mo_genus()</a></code> <code><a href="mo_property.html">mo_family()</a></code> <code><a href="mo_property.html">mo_order()</a></code> <code><a href="mo_property.html">mo_class()</a></code> <code><a href="mo_property.html">mo_phylum()</a></code> <code><a href="mo_property.html">mo_subkingdom()</a></code> <code><a href="mo_property.html">mo_kingdom()</a></code> <code><a href="mo_property.html">mo_type()</a></code> <code><a href="mo_property.html">mo_gramstain()</a></code> <code><a href="mo_property.html">mo_TSN()</a></code> <code><a href="mo_property.html">mo_ref()</a></code> <code><a href="mo_property.html">mo_authors()</a></code> <code><a href="mo_property.html">mo_year()</a></code> <code><a href="mo_property.html">mo_taxonomy()</a></code> <code><a href="mo_property.html">mo_property()</a></code> </p>
|
|
</td>
|
|
<td><p>Property of a microorganism</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="mo_renamed.html">mo_renamed()</a></code> </p>
|
|
</td>
|
|
<td><p>Vector of taxonomic renamed items</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="p.symbol.html">p.symbol()</a></code> </p>
|
|
</td>
|
|
<td><p>Symbol of a p value</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="portion.html">portion_R()</a></code> <code><a href="portion.html">portion_IR()</a></code> <code><a href="portion.html">portion_I()</a></code> <code><a href="portion.html">portion_SI()</a></code> <code><a href="portion.html">portion_S()</a></code> <code><a href="portion.html">portion_df()</a></code> </p>
|
|
</td>
|
|
<td><p>Calculate resistance of isolates</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="read.4D.html">read.4D()</a></code> </p>
|
|
</td>
|
|
<td><p>Read data from 4D database</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="resistance_predict.html">resistance_predict()</a></code> <code><a href="resistance_predict.html">rsi_predict()</a></code> </p>
|
|
</td>
|
|
<td><p>Predict antimicrobial resistance</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="rsi.html">rsi()</a></code> </p>
|
|
</td>
|
|
<td><p>Calculate resistance of isolates</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="septic_patients.html">septic_patients</a></code> </p>
|
|
</td>
|
|
<td><p>Data set with 2000 blood culture isolates of septic patients</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="skewness.html">skewness()</a></code> </p>
|
|
</td>
|
|
<td><p>Skewness of the sample</p></td>
|
|
</tr><tr>
|
|
|
|
<td>
|
|
<p><code><a href="supplementary_data.html">microorganismsDT</a></code> <code><a href="supplementary_data.html">microorganisms.prevDT</a></code> <code><a href="supplementary_data.html">microorganisms.unprevDT</a></code> <code><a href="supplementary_data.html">microorganisms.oldDT</a></code> </p>
|
|
</td>
|
|
<td><p>Supplementary Data</p></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
|
|
<h2>Contents</h2>
|
|
<ul class="nav nav-pills nav-stacked">
|
|
<li><a href="#section-all-functions">All functions</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="copyright">
|
|
<p>Developed by Matthijs S. Berends, Christian F. Luz.</p>
|
|
</div>
|
|
|
|
<div class="pkgdown">
|
|
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|