mirror of
https://github.com/msberends/AMR.git
synced 2026-11-29 06:46:14 +01:00
Built site for AMR@3.0.1.9127: bbfefe6
This commit is contained in:
1 parent
3953c77d62
commit
2da6a9dfd7
89 files changed
+641
-536
No files matched your search
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="https://amr-for-r.org/index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="https://amr-for-r.org/index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+27
-9
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -235,8 +235,30 @@ _pkgdown.yml # pkgdown website configuration</code></pre>
|
|||||||
<ul><li>Development versions use a <code>.9xxx</code> suffix</li>
|
<ul><li>Development versions use a <code>.9xxx</code> suffix</li>
|
||||||
<li>Stable CRAN releases drop the dev suffix (e.g., <code>3.0.1</code>)</li>
|
<li>Stable CRAN releases drop the dev suffix (e.g., <code>3.0.1</code>)</li>
|
||||||
<li>
|
<li>
|
||||||
<code>NEWS.md</code> uses sections <strong>New</strong>, <strong>Fixes</strong>, <strong>Updates</strong> with GitHub issue references (<code>#NNN</code>)</li>
|
<code>NEWS.md</code> follows the style of the v3.0.0 section; see <em>NEWS.md style</em> below</li>
|
||||||
</ul><div class="section level3">
|
</ul><div class="section level3">
|
||||||
|
<h3 id="newsmd-style">NEWS.md style<a class="anchor" aria-label="anchor" href="#newsmd-style"></a></h3>
|
||||||
|
<p>Each version section follows the v3.0.0 section of <code>NEWS.md</code>:</p>
|
||||||
|
<ul><li>After the <code># AMR <version></code> heading, an optional line on the planned release, then a short intro paragraph summarising the main changes in plain prose</li>
|
||||||
|
<li>Sub-headings, in this order and only when they have content: <code>### Breaking</code>, <code>### New</code>, <code>### Changed</code>, <code>### Other</code>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>Breaking</strong>: changes that can alter results or break existing code (renamed or removed arguments, options or values, changed return values, new requirements); explain what changed and how to get the old behaviour</li>
|
||||||
|
<li>
|
||||||
|
<strong>New</strong>: new functions, arguments, data sets, columns, selectors, antimicrobials and breakpoints, grouped under bold thematic bullets (e.g. <code>* **Updated clinical breakpoints**</code>) with nested bullets beneath; end with a <code>* **Other**</code> group for items that fit no theme</li>
|
||||||
|
<li>
|
||||||
|
<strong>Changed</strong>: improvements and bug fixes together (there is no separate fixes section), grouped by function or data set as a plain parent bullet (e.g. <code>* SIR interpretation (`as.sir()`)</code>, <code>* `microorganisms` data set</code>) with nested bullets beneath; items that fit no group are single top-level bullets at the end</li>
|
||||||
|
<li>
|
||||||
|
<strong>Other</strong>: documentation, vignettes, website, contributors and console output</li>
|
||||||
|
<li>Each function or data set gets exactly one group; never scatter entries for the same function (e.g. <code><a href="reference/as.mo.html">as.mo()</a></code>) across the section</li>
|
||||||
|
<li>Bug fixes start with “Fixed …” or state the corrected behaviour (e.g. “now returns <code>NA</code> with a warning instead of an error”)</li>
|
||||||
|
<li>Write descriptive, complete sentences, in British English; a single-sentence bullet has no final full stop, a bullet of several sentences ends with one</li>
|
||||||
|
<li>Use “e.g.,” and “i.e.,”, backticks for code, functions with <code>()</code>, and italics for taxonomic names</li>
|
||||||
|
<li>Add GitHub issue references at the end of the item, as <code>(#NNN)</code> or <code>(#NNN, #NNN)</code>
|
||||||
|
</li>
|
||||||
|
<li>Never use em dashes</li>
|
||||||
|
</ul></div>
|
||||||
|
<div class="section level3">
|
||||||
<h3 id="local-commits-on-main-never-touch-the-version-number">Local commits on <code>main</code>: never touch the version number<a class="anchor" aria-label="anchor" href="#local-commits-on-main-never-touch-the-version-number"></a></h3>
|
<h3 id="local-commits-on-main-never-touch-the-version-number">Local commits on <code>main</code>: never touch the version number<a class="anchor" aria-label="anchor" href="#local-commits-on-main-never-touch-the-version-number"></a></h3>
|
||||||
<p>When committing directly on <code>main</code> in a local clone, <strong>never</strong> edit the <code>Version:</code> or <code>Date:</code> field in <code>DESCRIPTION</code>, nor line 1 of <code>NEWS.md</code>, and do not add a version prefix to the commit message. The git hooks in <code>.github/prehooks/</code> do this on every commit to <code>main</code>: <code>pre-commit</code> sets the version (commit count since the last tag + 9001) and date in <code>DESCRIPTION</code> and line 1 of <code>NEWS.md</code>, and <code>commit-msg</code> prepends <code>(vX.Y.Z.9NNN)</code> to the commit message. Adding NEWS bullets is still allowed. The section below applies only to PRs.</p>
|
<p>When committing directly on <code>main</code> in a local clone, <strong>never</strong> edit the <code>Version:</code> or <code>Date:</code> field in <code>DESCRIPTION</code>, nor line 1 of <code>NEWS.md</code>, and do not add a version prefix to the commit message. The git hooks in <code>.github/prehooks/</code> do this on every commit to <code>main</code>: <code>pre-commit</code> sets the version (commit count since the last tag + 9001) and date in <code>DESCRIPTION</code> and line 1 of <code>NEWS.md</code>, and <code>commit-msg</code> prepends <code>(vX.Y.Z.9NNN)</code> to the commit message. Adding NEWS bullets is still allowed. The section below applies only to PRs.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -259,14 +281,10 @@ _pkgdown.yml # pkgdown website configuration</code></pre>
|
|||||||
<span id="cb7-6"><a href="#cb7-6" tabindex="-1"></a><span class="va">currentversion</span><span class="op">=</span><span class="st">"</span><span class="va">${currenttag}</span><span class="st">.</span><span class="va">$((currentcommit</span> <span class="op">+</span> <span class="dv">9001</span> <span class="op">+</span> <span class="dv">1</span><span class="va">))</span><span class="st">"</span></span>
|
<span id="cb7-6"><a href="#cb7-6" tabindex="-1"></a><span class="va">currentversion</span><span class="op">=</span><span class="st">"</span><span class="va">${currenttag}</span><span class="st">.</span><span class="va">$((currentcommit</span> <span class="op">+</span> <span class="dv">9001</span> <span class="op">+</span> <span class="dv">1</span><span class="va">))</span><span class="st">"</span></span>
|
||||||
<span id="cb7-7"><a href="#cb7-7" tabindex="-1"></a><span class="bu">echo</span> <span class="st">"</span><span class="va">$currentversion</span><span class="st">"</span></span></code></pre></div>
|
<span id="cb7-7"><a href="#cb7-7" tabindex="-1"></a><span class="bu">echo</span> <span class="st">"</span><span class="va">$currentversion</span><span class="st">"</span></span></code></pre></div>
|
||||||
<p>The <code>+ 1</code> accounts for the fact that this PR’s squash commit is not yet on the default branch. Set <strong>both</strong> of these files to the resulting version string (and only once per PR, even across multiple commits):</p>
|
<p>The <code>+ 1</code> accounts for the fact that this PR’s squash commit is not yet on the default branch. Set <strong>both</strong> of these files to the resulting version string (and only once per PR, even across multiple commits):</p>
|
||||||
<ol style="list-style-type: decimal"><li><p><strong><code>DESCRIPTION</code></strong> — the <code>Version:</code> field</p></li>
|
<ol style="list-style-type: decimal"><li>
|
||||||
|
<strong><code>DESCRIPTION</code></strong> — the <code>Version:</code> field</li>
|
||||||
<li>
|
<li>
|
||||||
<p><strong><code>NEWS.md</code></strong> — <strong>only replace line 1</strong> (the <code># AMR <version></code> heading) with the new version number; do <strong>not</strong> create a new section. <code>NEWS.md</code> is a <strong>continuous log</strong> for the entire current <code>x.y.z.9nnn</code> development series: all changes since the last stable release accumulate under that single heading. After updating line 1, append the new change as a bullet under the appropriate sub-heading (<code>### New</code>, <code>### Fixes</code>, or <code>### Updates</code>).</p>
|
<strong><code>NEWS.md</code></strong> — <strong>only replace line 1</strong> (the <code># AMR <version></code> heading) with the new version number; do <strong>not</strong> create a new section. <code>NEWS.md</code> is a <strong>continuous log</strong> for the entire current <code>x.y.z.9nnn</code> development series: all changes since the last stable release accumulate under that single heading. After updating line 1, add the new change to the appropriate sub-heading and group, following <em>NEWS.md style</em> above. If the change belongs to an existing group (e.g. <code><a href="reference/as.mo.html">as.mo()</a></code>), add it there or amend the existing bullet instead of adding a new top-level bullet.</li>
|
||||||
<p>Style rules for <code>NEWS.md</code> entries:</p>
|
|
||||||
<ul><li>Be <strong>extremely concise</strong> — one short line per item</li>
|
|
||||||
<li>Do <strong>not</strong> end with a full stop (period)</li>
|
|
||||||
<li>No verbose explanations; just the essential fact</li>
|
|
||||||
</ul></li>
|
|
||||||
</ol><p>If <code>git describe</code> fails (e.g. no tags exist in the environment), fall back to reading the current version from <code>DESCRIPTION</code> and adding 1 to the last numeric component — but only if no bump has already been made in this PR.</p>
|
</ol><p>If <code>git describe</code> fails (e.g. no tags exist in the environment), fall back to reading the current version from <code>DESCRIPTION</code> and adding 1 to the last numeric component — but only if no bump has already been made in this PR.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
|
|||||||
@@ -187,8 +187,47 @@ Version format: `major.minor.patch.dev` (e.g., `3.0.1.9021`)
|
|||||||
|
|
||||||
- Development versions use a `.9xxx` suffix
|
- Development versions use a `.9xxx` suffix
|
||||||
- Stable CRAN releases drop the dev suffix (e.g., `3.0.1`)
|
- Stable CRAN releases drop the dev suffix (e.g., `3.0.1`)
|
||||||
- `NEWS.md` uses sections **New**, **Fixes**, **Updates** with GitHub
|
- `NEWS.md` follows the style of the v3.0.0 section; see *NEWS.md style*
|
||||||
issue references (`#NNN`)
|
below
|
||||||
|
|
||||||
|
### NEWS.md style
|
||||||
|
|
||||||
|
Each version section follows the v3.0.0 section of `NEWS.md`:
|
||||||
|
|
||||||
|
- After the `# AMR <version>` heading, an optional line on the planned
|
||||||
|
release, then a short intro paragraph summarising the main changes in
|
||||||
|
plain prose
|
||||||
|
- Sub-headings, in this order and only when they have content:
|
||||||
|
`### Breaking`, `### New`, `### Changed`, `### Other`
|
||||||
|
- **Breaking**: changes that can alter results or break existing code
|
||||||
|
(renamed or removed arguments, options or values, changed return
|
||||||
|
values, new requirements); explain what changed and how to get the old
|
||||||
|
behaviour
|
||||||
|
- **New**: new functions, arguments, data sets, columns, selectors,
|
||||||
|
antimicrobials and breakpoints, grouped under bold thematic bullets
|
||||||
|
(e.g. `* **Updated clinical breakpoints**`) with nested bullets
|
||||||
|
beneath; end with a `* **Other**` group for items that fit no theme
|
||||||
|
- **Changed**: improvements and bug fixes together (there is no separate
|
||||||
|
fixes section), grouped by function or data set as a plain parent
|
||||||
|
bullet (e.g. `` * SIR interpretation (`as.sir()`) ``,
|
||||||
|
`` * `microorganisms` data set ``) with nested bullets beneath; items
|
||||||
|
that fit no group are single top-level bullets at the end
|
||||||
|
- **Other**: documentation, vignettes, website, contributors and console
|
||||||
|
output
|
||||||
|
- Each function or data set gets exactly one group; never scatter
|
||||||
|
entries for the same function
|
||||||
|
(e.g. [`as.mo()`](https://amr-for-r.org/reference/as.mo.md)) across
|
||||||
|
the section
|
||||||
|
- Bug fixes start with “Fixed …” or state the corrected behaviour
|
||||||
|
(e.g. “now returns `NA` with a warning instead of an error”)
|
||||||
|
- Write descriptive, complete sentences, in British English; a
|
||||||
|
single-sentence bullet has no final full stop, a bullet of several
|
||||||
|
sentences ends with one
|
||||||
|
- Use “e.g.,” and “i.e.,”, backticks for code, functions with `()`, and
|
||||||
|
italics for taxonomic names
|
||||||
|
- Add GitHub issue references at the end of the item, as `(#NNN)` or
|
||||||
|
`(#NNN, #NNN)`
|
||||||
|
- Never use em dashes
|
||||||
|
|
||||||
### Local commits on `main`: never touch the version number
|
### Local commits on `main`: never touch the version number
|
||||||
|
|
||||||
@@ -240,20 +279,17 @@ on the default branch. Set **both** of these files to the resulting
|
|||||||
version string (and only once per PR, even across multiple commits):
|
version string (and only once per PR, even across multiple commits):
|
||||||
|
|
||||||
1. **`DESCRIPTION`** — the `Version:` field
|
1. **`DESCRIPTION`** — the `Version:` field
|
||||||
|
|
||||||
2. **`NEWS.md`** — **only replace line 1** (the `# AMR <version>`
|
2. **`NEWS.md`** — **only replace line 1** (the `# AMR <version>`
|
||||||
heading) with the new version number; do **not** create a new
|
heading) with the new version number; do **not** create a new
|
||||||
section. `NEWS.md` is a **continuous log** for the entire current
|
section. `NEWS.md` is a **continuous log** for the entire current
|
||||||
`x.y.z.9nnn` development series: all changes since the last stable
|
`x.y.z.9nnn` development series: all changes since the last stable
|
||||||
release accumulate under that single heading. After updating line 1,
|
release accumulate under that single heading. After updating line 1,
|
||||||
append the new change as a bullet under the appropriate sub-heading
|
add the new change to the appropriate sub-heading and group,
|
||||||
(`### New`, `### Fixes`, or `### Updates`).
|
following *NEWS.md style* above. If the change belongs to an
|
||||||
|
existing group
|
||||||
Style rules for `NEWS.md` entries:
|
(e.g. [`as.mo()`](https://amr-for-r.org/reference/as.mo.md)), add it
|
||||||
|
there or amend the existing bullet instead of adding a new top-level
|
||||||
- Be **extremely concise** — one short line per item
|
bullet.
|
||||||
- Do **not** end with a full stop (period)
|
|
||||||
- No verbose explanations; just the essential fact
|
|
||||||
|
|
||||||
If `git describe` fails (e.g. no tags exist in the environment), fall
|
If `git describe` fails (e.g. no tags exist in the environment), fall
|
||||||
back to reading the current version from `DESCRIPTION` and adding 1 to
|
back to reading the current version from `DESCRIPTION` and adding 1 to
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+5
-5
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
website update since they are based on randomly created values and the
|
website update since they are based on randomly created values and the
|
||||||
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
||||||
Markdown</a>. However, the methodology remains unchanged. This page was
|
Markdown</a>. However, the methodology remains unchanged. This page was
|
||||||
generated on 12 October 2026.</p>
|
generated on 13 October 2026.</p>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||||
</h2>
|
</h2>
|
||||||
@@ -147,21 +147,21 @@ make the structure of your data generally look like this:</p>
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2026-10-12</td>
|
<td align="center">2026-10-13</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">2026-10-12</td>
|
<td align="center">2026-10-13</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2026-10-12</td>
|
<td align="center">2026-10-13</td>
|
||||||
<td align="center">efgh</td>
|
<td align="center">efgh</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
|
|||||||
+4
-4
@@ -3,7 +3,7 @@
|
|||||||
**Note:** values on this page will change with every website update
|
**Note:** values on this page will change with every website update
|
||||||
since they are based on randomly created values and the page was written
|
since they are based on randomly created values and the page was written
|
||||||
in [R Markdown](https://rmarkdown.rstudio.com/). However, the
|
in [R Markdown](https://rmarkdown.rstudio.com/). However, the
|
||||||
methodology remains unchanged. This page was generated on 12 October
|
methodology remains unchanged. This page was generated on 13 October
|
||||||
2026.
|
2026.
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
@@ -52,9 +52,9 @@ structure of your data generally look like this:
|
|||||||
|
|
||||||
| date | patient_id | mo | AMX | CIP |
|
| date | patient_id | mo | AMX | CIP |
|
||||||
|:----------:|:----------:|:----------------:|:---:|:---:|
|
|:----------:|:----------:|:----------------:|:---:|:---:|
|
||||||
| 2026-10-12 | abcd | Escherichia coli | S | S |
|
| 2026-10-13 | abcd | Escherichia coli | S | S |
|
||||||
| 2026-10-12 | abcd | Escherichia coli | S | R |
|
| 2026-10-13 | abcd | Escherichia coli | S | R |
|
||||||
| 2026-10-12 | efgh | Escherichia coli | R | S |
|
| 2026-10-13 | efgh | Escherichia coli | R | S |
|
||||||
|
|
||||||
### Needed R packages
|
### Needed R packages
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
<main id="main" class="col-md-9"><div class="page-header">
|
<main id="main" class="col-md-9"><div class="page-header">
|
||||||
<img src="../logo.svg" class="logo" alt=""><h1>Download data sets for download / own use</h1>
|
<img src="../logo.svg" class="logo" alt=""><h1>Download data sets for download / own use</h1>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">12 October 2026</h4>
|
<h4 data-toc-skip class="date">13 October 2026</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/main/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/main/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>datasets.Rmd</code></div>
|
<div class="d-none name"><code>datasets.Rmd</code></div>
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+139
-113
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -49,12 +49,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 class="pkg-version" data-toc-text="3.0.1.9126" id="amr-3019126">AMR 3.0.1.9126<a class="anchor" aria-label="anchor" href="#amr-3019126"></a></h2>
|
<h2 class="pkg-version" data-toc-text="3.0.1.9127" id="amr-3019127">AMR 3.0.1.9127<a class="anchor" aria-label="anchor" href="#amr-3019127"></a></h2>
|
||||||
<p>Planned as v3.1.0, mid October 2026.</p>
|
<p>Planned as v3.1.0, mid October 2026.</p>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="breaking-changes-3-0-1-9126">Breaking Changes<a class="anchor" aria-label="anchor" href="#breaking-changes-3-0-1-9126"></a></h4>
|
<h4 id="breaking-3-0-1-9127">Breaking<a class="anchor" aria-label="anchor" href="#breaking-3-0-1-9127"></a></h4>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p>The former <em>kingdoms</em> Bacteria and Archaea are now each divided into four kingdoms with new top-level <em>domains</em> ‘Bacteria’ and ‘Archaea’ (Göker and Oren, 2024, DOI: 10.1099/ijsem.0.006242). Following this, a new <code>domain</code> column in the <code>microorganisms</code> data set was added, and more importantly, <code><a href="../reference/mo_property.html">mo_kingdom()</a></code> now returns the formal kingdom (e.g. <code>"Pseudomonadati"</code> instead of <code>"Bacteria"</code>). Use <code><a href="../reference/mo_property.html">mo_domain()</a></code> for the old behaviour. For non-prokaryotic kingdoms (Fungi, Protozoa, etc.), <code>kingdom</code> and <code>domain</code> are identical.</p>
|
<p>The former <em>kingdoms</em> Bacteria and Archaea are now each divided into four kingdoms, with new top-level <em>domains</em> Bacteria and Archaea (Göker and Oren, 2024, DOI: 10.1099/ijsem.0.006242). Following this, a new <code>domain</code> column was added to the <code>microorganisms</code> data set, and <code><a href="../reference/mo_property.html">mo_kingdom()</a></code> now returns the formal kingdom (e.g., <code>"Pseudomonadati"</code> instead of <code>"Bacteria"</code>). Use <code><a href="../reference/mo_property.html">mo_domain()</a></code> for the old behaviour. For non-prokaryotic kingdoms (Fungi, Protozoa, etc.), <code>kingdom</code> and <code>domain</code> are identical.</p>
|
||||||
<table class="table"><colgroup><col width="33%"><col width="29%"><col width="37%"></colgroup><thead><tr><th>
|
<table class="table"><colgroup><col width="33%"><col width="29%"><col width="37%"></colgroup><thead><tr><th>
|
||||||
<code><a href="../reference/mo_property.html">mo_kingdom()</a></code> < 3.1.0</th>
|
<code><a href="../reference/mo_property.html">mo_kingdom()</a></code> < 3.1.0</th>
|
||||||
<th>
|
<th>
|
||||||
@@ -100,146 +100,171 @@
|
|||||||
</tr><tr><td>Protozoa</td>
|
</tr><tr><td>Protozoa</td>
|
||||||
<td>Protozoa</td>
|
<td>Protozoa</td>
|
||||||
<td>Protozoa</td>
|
<td>Protozoa</td>
|
||||||
</tr></tbody></table><p>Thus, <code><a href="../reference/mo_property.html">mo_domain()</a></code> was previously an alias of <code><a href="../reference/mo_property.html">mo_kingdom()</a></code>; it is now a distinct function returning the domain. Output of <code><a href="../reference/mo_property.html">mo_domain()</a></code> is therefore unchanged, while <code><a href="../reference/mo_property.html">mo_kingdom()</a></code> now returns the formal, new kingdom.</p>
|
</tr></tbody></table><p>Previously, <code><a href="../reference/mo_property.html">mo_domain()</a></code> was an alias of <code><a href="../reference/mo_property.html">mo_kingdom()</a></code>; it is now a distinct function. Its output is therefore unchanged, while <code><a href="../reference/mo_property.html">mo_kingdom()</a></code> now returns the new formal kingdom. A one-time note per session explains this change when bacterial or archaeal records are queried.</p>
|
||||||
</li>
|
</li>
|
||||||
<li><p>Faster parallel computing via the <code>future</code> package for <code><a href="../reference/as.sir.html">as.sir()</a></code> and <code><a href="../reference/antibiogram.html">wisca()</a></code>: a non-sequential plan (e.g. <code>future::plan(future::multisession)</code>) must be active before using <code>parallel = TRUE</code>.</p></li>
|
<li><p>Parallel computing in <code><a href="../reference/as.sir.html">as.sir()</a></code>, <code><a href="../reference/antibiogram.html">antibiogram()</a></code>, and <code><a href="../reference/antibiogram.html">wisca()</a></code> now uses the <code>future</code> and <code>future.apply</code> packages, which is faster. A non-sequential plan (e.g., <code>future::plan(future::multisession)</code>) must be active before using <code>parallel = TRUE</code> (<a href="https://github.com/msberends/AMR/issues/281" class="external-link">#281</a>).</p></li>
|
||||||
<li><p><code><a href="../reference/as.mo.html">as.mo()</a></code> no longer guesses unknown MO codes (these become <code>NA</code> with a warning), and MO codes from versions before v2.0.0 are no longer supported</p></li>
|
<li><p>The options of <code>capped_mic_handling</code> in <code><a href="../reference/as.sir.html">as.sir()</a></code> have been redefined as <code>"none"</code>, <code>"conservative"</code>, <code>"standard"</code> (default), and <code>"lenient"</code>. The option <code>"inverse"</code> is no longer available (<a href="https://github.com/msberends/AMR/issues/243" class="external-link">#243</a>).</p></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="new-3-0-1-9126">New<a class="anchor" aria-label="anchor" href="#new-3-0-1-9126"></a></h4>
|
<h4 id="new-3-0-1-9127">New<a class="anchor" aria-label="anchor" href="#new-3-0-1-9127"></a></h4>
|
||||||
<ul><li>EUCAST 2026 and CLSI 2026 breakpoints: over 5,700 new breakpoints added to the <code>clinical_breakpoints</code> data set; EUCAST 2026 is now the default for all MIC and disk diffusion interpretations</li>
|
|
||||||
<li>Human EUCAST breakpoints from 2019 (v9.0) on, are now retrieved directly from EUCAST Excel files instead of relying on the WHONET repository.
|
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<code>clinical_breakpoints</code> now contains blocking rows (<code>NA</code> breakpoints, reason in <code>note</code>) where EUCAST gives no breakpoint for an organism, so <code><a href="../reference/as.sir.html">as.sir()</a></code> no longer falls back to the breakpoint of a broader taxon</li>
|
<strong>Updated clinical breakpoints</strong>
|
||||||
<li>Restrictions in EUCAST notes are applied, e.g. zone diameter breakpoints for <em>E. coli</em> only</li>
|
<ul><li>EUCAST 2026 and CLSI 2026 are now supported, by adding over 5,700 new breakpoints to the <code>clinical_breakpoints</code> data set. EUCAST 2026 is now the default guideline for all MIC and disk diffusion interpretations.</li>
|
||||||
<li>EUCAST PK-PD (non-species related) breakpoints 2019-2023 and <em>H. parainfluenzae</em> MIC breakpoints are included</li>
|
<li>Human EUCAST breakpoints from 2019 (v9.0) onwards are now retrieved directly from the EUCAST Excel files, instead of relying on the WHONET repository. As a result:
|
||||||
|
<ul><li>
|
||||||
|
<code>clinical_breakpoints</code> now contains blocking rows (<code>NA</code> breakpoints, with the reason in <code>note</code>) where EUCAST gives no breakpoint for an organism, so that <code><a href="../reference/as.sir.html">as.sir()</a></code> no longer falls back to the breakpoint of a broader taxon</li>
|
||||||
|
<li>Restrictions in EUCAST notes are applied, e.g., zone diameter breakpoints for <em>E. coli</em> only</li>
|
||||||
|
<li>EUCAST PK-PD (non-species related) breakpoints of 2019-2023 and <em>H. parainfluenzae</em> MIC breakpoints are now included</li>
|
||||||
|
</ul></li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>Wildtype/Non-wildtype (WT/NWT) output when using ECOFF-based interpretation, by setting <code>breakpoint_type = "ECOFF"</code> in <code><a href="../reference/as.sir.html">as.sir()</a></code>; WT/NWT results are fully supported in all resistance/susceptibility functions and plots (<a href="https://github.com/msberends/AMR/issues/254" class="external-link">#254</a>)</li>
|
|
||||||
<li>
|
<li>
|
||||||
<em>tidymodels</em> integration for using SIR, MIC and disk data in modelling pipelines: <code><a href="../reference/amr-tidymodels.html">step_mic_log2()</a></code>, <code><a href="../reference/amr-tidymodels.html">step_sir_numeric()</a></code>, and new column selectors <code><a href="../reference/amr-tidymodels.html">all_sir()</a></code>, <code><a href="../reference/amr-tidymodels.html">all_mic()</a></code>, <code><a href="../reference/amr-tidymodels.html">all_disk()</a></code>
|
<strong>Wildtype/Non-wildtype interpretation</strong>
|
||||||
|
<ul><li>
|
||||||
|
<code><a href="../reference/as.sir.html">as.sir()</a></code> now returns WT/NWT (Wildtype/Non-wildtype) when using ECOFF-based interpretation with <code>breakpoint_type = "ECOFF"</code>. WT/NWT results are fully supported in all resistance and susceptibility functions and in all plots (<a href="https://github.com/msberends/AMR/issues/254" class="external-link">#254</a>).</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>
|
||||||
|
<strong>Unified interpretive rules</strong>
|
||||||
|
<ul><li>New function <code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code> applies the interpretive rules of both EUCAST and CLSI. <code><a href="../reference/interpretive_rules.html">eucast_rules()</a></code> is now a wrapper around this function (<a href="https://github.com/msberends/AMR/issues/235" class="external-link">#235</a>, <a href="https://github.com/msberends/AMR/issues/259" class="external-link">#259</a>).</li>
|
||||||
|
<li>Species named in a rule now also match all other names of the same accepted taxon (e.g., ‘Clostridium ramosum’ for <em>Thomasclavelia ramosa</em>). This also updated the <code>intrinsic_resistant</code> data set.</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>
|
||||||
|
<strong>Support for <code>tidymodels</code> pipelines</strong>
|
||||||
|
<ul><li>New recipe steps <code><a href="../reference/amr-tidymodels.html">step_mic_log2()</a></code> and <code><a href="../reference/amr-tidymodels.html">step_sir_numeric()</a></code> to use MIC and SIR data in modelling pipelines</li>
|
||||||
|
<li>New column selectors <code><a href="../reference/amr-tidymodels.html">all_sir()</a></code>, <code><a href="../reference/amr-tidymodels.html">all_mic()</a></code>, and <code><a href="../reference/amr-tidymodels.html">all_disk()</a></code>
|
||||||
</li>
|
</li>
|
||||||
<li>New <code>esbl_isolates</code> data set for practising AMR modelling</li>
|
<li>New <code>esbl_isolates</code> data set for practising AMR modelling</li>
|
||||||
<li>New antimicrobial selectors: <code><a href="../reference/antimicrobial_selectors.html">ionophores()</a></code>, <code><a href="../reference/antimicrobial_selectors.html">peptides()</a></code>, <code><a href="../reference/antimicrobial_selectors.html">phosphonics()</a></code>, <code><a href="../reference/antimicrobial_selectors.html">spiropyrimidinetriones()</a></code>
|
</ul></li>
|
||||||
|
<li>
|
||||||
|
<strong>Morphology of bacteria</strong>
|
||||||
|
<ul><li>New <code>morphology</code> column in the <code>microorganisms</code> data set, with the corresponding function <code><a href="../reference/mo_property.html">mo_morphology()</a></code> to return the cell shape of bacteria. Data are sourced from BacDive; values prefixed with “likely” are extrapolated from the consensus at genus level.</li>
|
||||||
|
<li>New argument <code>add_morphology</code> in <code><a href="../reference/mo_property.html">mo_gramstain()</a></code> to return combined results, such as <code>"Gram-negative rods"</code>
|
||||||
</li>
|
</li>
|
||||||
<li>New antimicrobials: cefepime/taniborbactam (<code>FTA</code>), ceftibuten/avibactam (<code>CTA</code>), clorobiocin (<code>CLB</code>), kasugamycin (<code>KAS</code>), ostreogrycin (<code>OST</code>), Sulbactam/durlobactam (<code>SUD1</code>, <a href="https://github.com/msberends/AMR/issues/308" class="external-link">#308</a>), taniborbactam (<code>TAN</code>), thiostrepton (<code>THS</code>), xeruborbactam (<code>XER</code>), zorbamycin (<code>ZOR</code>)</li>
|
</ul></li>
|
||||||
<li>New <code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code>, a unified function for EUCAST and CLSI interpretive rules; <code><a href="../reference/interpretive_rules.html">eucast_rules()</a></code> is now a wrapper around it (<a href="https://github.com/msberends/AMR/issues/235" class="external-link">#235</a>, <a href="https://github.com/msberends/AMR/issues/259" class="external-link">#259</a>)</li>
|
|
||||||
<li>New <code>morphology</code> column in the <code>microorganisms</code> data set and corresponding <code><a href="../reference/mo_property.html">mo_morphology()</a></code> function, returning the cell shape of bacteria. Data sourced from BacDive; values prefixed with “likely” are extrapolated from genus-level consensus. New <code>add_morphology</code> argument was added to <code><a href="../reference/mo_property.html">mo_gramstain()</a></code> to return combined results such as <code>"Gram-negative rods"</code>.</li>
|
|
||||||
<li>New <code><a href="../reference/amr_course.html">amr_course()</a></code> to download and unpack course or webinar materials from GitHub in one call</li>
|
|
||||||
<li>Typed missing value constants <code>NA_ab_</code> and <code>NA_mo_</code>, for use in pipelines that need missing values of a specific class</li>
|
|
||||||
<li>New <code><a href="../reference/antibiogram.html">wisca_plot()</a></code> to assess the susceptibility and incidence distributions from the Monte Carlo simulations</li>
|
|
||||||
<li>A registry of all microbial IDs (MO codes) since v2.0.0 now prevents existing IDs from being reused or mixed up; IDs of earlier releases are translated to the current ID of the same taxon</li>
|
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/add_custom_antimicrobials.html">add_custom_antimicrobial_synonyms()</a></code> to add local names, such as trade names, to existing antimicrobials (<a href="https://github.com/msberends/AMR/issues/307" class="external-link">#307</a>)</li>
|
<strong>Antimicrobials</strong>
|
||||||
|
<ul><li>New function <code><a href="../reference/sir_combine.html">sir_combine()</a></code> to combine SIR results of multiple antimicrobials into one variable, for combination therapy (<code>method = "most_susceptible"</code>) or for resistance within a group (<code>method = "most_resistant"</code>) (<a href="https://github.com/msberends/AMR/issues/321" class="external-link">#321</a>)</li>
|
||||||
|
<li>New function <code><a href="../reference/add_custom_antimicrobials.html">add_custom_antimicrobial_synonyms()</a></code> to add local names, such as trade names, to existing antimicrobials (<a href="https://github.com/msberends/AMR/issues/307" class="external-link">#307</a>)</li>
|
||||||
|
<li>New antimicrobial selectors <code><a href="../reference/antimicrobial_selectors.html">ionophores()</a></code>, <code><a href="../reference/antimicrobial_selectors.html">peptides()</a></code>, <code><a href="../reference/antimicrobial_selectors.html">phosphonics()</a></code>, and <code><a href="../reference/antimicrobial_selectors.html">spiropyrimidinetriones()</a></code>
|
||||||
|
</li>
|
||||||
|
<li>New antimicrobials: cefepime/taniborbactam (<code>FTA</code>), ceftibuten/avibactam (<code>CTA</code>), clorobiocin (<code>CLB</code>), kasugamycin (<code>KAS</code>), ostreogrycin (<code>OST</code>), sulbactam/durlobactam (<code>SUD1</code>, <a href="https://github.com/msberends/AMR/issues/308" class="external-link">#308</a>), taniborbactam (<code>TAN</code>), thiostrepton (<code>THS</code>), xeruborbactam (<code>XER</code>), and zorbamycin (<code>ZOR</code>)</li>
|
||||||
|
</ul></li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/sir_combine.html">sir_combine()</a></code> to combine SIR results of multiple antimicrobials into one variable, for combination therapy (<code>method = "most_susceptible"</code>) or resistance within a group (<code>method = "most_resistant"</code>) (<a href="https://github.com/msberends/AMR/issues/321" class="external-link">#321</a>)</li>
|
<strong>Other</strong>
|
||||||
|
<ul><li>New function <code><a href="../reference/antibiogram.html">wisca_plot()</a></code> to assess the distributions of susceptibility and incidence from the Monte Carlo simulations of WISCA</li>
|
||||||
|
<li>New function <code><a href="../reference/amr_course.html">amr_course()</a></code> to download and unpack course or webinar materials from GitHub in one call</li>
|
||||||
|
<li>New typed missing value constants <code>NA_ab_</code> and <code>NA_mo_</code>, for use in pipelines that need missing values of a specific class</li>
|
||||||
|
<li>A registry of all MO codes since v2.0.0 now prevents existing codes from being reused or mixed up. Codes of earlier releases are translated to the current code of the same taxon.</li>
|
||||||
|
</ul></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="fixed-3-0-1-9126">Fixed<a class="anchor" aria-label="anchor" href="#fixed-3-0-1-9126"></a></h4>
|
<h4 id="changed-3-0-1-9127">Changed<a class="anchor" aria-label="anchor" href="#changed-3-0-1-9127"></a></h4>
|
||||||
<ul><li>
|
<ul><li>SIR interpretation (<code><a href="../reference/as.sir.html">as.sir()</a></code>)
|
||||||
<code><a href="../reference/as.mo.html">as.mo()</a></code> returned <em>Salmonella bongori</em> or another subspecies for <em>Salmonella</em> serovars written with the species, such as “Salmonella enterica serovar Typhi”</li>
|
<ul><li>New argument <code>enforce_method</code> (<code>"auto"</code>, <code>"mic"</code>, or <code>"disk"</code>) to force the interpretation method when S3 class information is lost, e.g., when called from Python (<a href="https://github.com/msberends/AMR/issues/291" class="external-link">#291</a>)</li>
|
||||||
<li>EUCAST breakpoint rules for <em>Aerococcus</em> (v12 onwards) were never applied, and <em>Pasteurella</em> rules were partly filed under <em>Neisseria meningitidis</em> (<a href="https://github.com/msberends/AMR/issues/290" class="external-link">#290</a>)</li>
|
<li>When input consists of whole numbers only, disk zones are now assumed rather than MIC values (<a href="https://github.com/msberends/AMR/issues/291" class="external-link">#291</a>)</li>
|
||||||
<li>Streptomycin breakpoints imported from WHONET were coded as streptoduocin (<code>STR</code>) instead of streptomycin (<code>STR1</code>)</li>
|
<li>Capped MICs (e.g., <code><=0.5</code>) now return <code>I</code> instead of <code>S</code> or <code>NI</code> if there is no S category, i.e., in case of an off-scale S breakpoint such as EUCAST’s 0.001 mg/L (<a href="https://github.com/msberends/AMR/issues/295" class="external-link">#295</a>)</li>
|
||||||
<li>CLSI breakpoints for sulbactam/durlobactam were coded as sulfadimethoxine (<code>SUD</code>), and EUCAST 2011 breakpoints for roxithromycin were missing (<a href="https://github.com/msberends/AMR/issues/308" class="external-link">#308</a>)</li>
|
|
||||||
<li>Setting <code>options(AMR_guideline = "EUCAST 2012")</code> or any year-qualified value no longer causes errors or silent wrong behaviour in <code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code>, <code><a href="../reference/proportion.html">resistance()</a></code>, <code><a href="../reference/proportion.html">susceptibility()</a></code>, <code><a href="../reference/count.html">count_resistant()</a></code>, <code><a href="../reference/count.html">count_susceptible()</a></code>, and SIR plotting/printing functions (<a href="https://github.com/msberends/AMR/issues/298" class="external-link">#298</a>)</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.sir.html">as.sir()</a></code>
|
|
||||||
<ul><li>On data frames: already-converted SIR columns no longer dropped on re-run (<a href="https://github.com/msberends/AMR/issues/278" class="external-link">#278</a>)</li>
|
|
||||||
<li>Metadata columns (e.g. <code>patient</code>, <code>ward</code>) no longer misidentified as antibiotic columns</li>
|
|
||||||
<li>
|
|
||||||
<code>info = FALSE</code> now suppresses all messages, including for columns without breakpoints</li>
|
|
||||||
<li>Assumption of disk zones are now preferred over MIC values when input is only whole numbers (<a href="https://github.com/msberends/AMR/issues/291" class="external-link">#291</a>)</li>
|
|
||||||
<li>Capped MICs (e.g. <code><=0.5</code>) are now <code>I</code> instead of <code>S</code> or <code>NI</code> if there is no S category, i.e. an off-scale S breakpoint such as EUCAST’s 0.001 mg/L (<a href="https://github.com/msberends/AMR/issues/295" class="external-link">#295</a>)</li>
|
|
||||||
<li>Capped MICs are no longer forced to <code>S</code> or <code>R</code> if there is no breakpoint for the drug-bug combination</li>
|
<li>Capped MICs are no longer forced to <code>S</code> or <code>R</code> if there is no breakpoint for the drug-bug combination</li>
|
||||||
<li>Documented default of <code>capped_mic_handling</code> corrected to <code>"standard"</code>
|
<li>Fixed the documented default of <code>capped_mic_handling</code>, which is <code>"standard"</code>
|
||||||
</li>
|
</li>
|
||||||
|
<li>On data frames, already-converted SIR columns are no longer dropped on a re-run (<a href="https://github.com/msberends/AMR/issues/278" class="external-link">#278</a>)</li>
|
||||||
|
<li>Metadata columns (e.g., <code>patient</code>, <code>ward</code>) are no longer misidentified as antimicrobial columns</li>
|
||||||
|
<li>
|
||||||
|
<code>info = FALSE</code> now suppresses all messages, including those for columns without breakpoints</li>
|
||||||
|
<li>Combined MIC/SIR input values (e.g., <code>"<= 0.002; S"</code> or <code>"S; 0.002"</code>) are now parsed correctly (<a href="https://github.com/msberends/AMR/issues/252" class="external-link">#252</a>)</li>
|
||||||
|
<li>Setting a year-qualified guideline, such as <code>options(AMR_guideline = "EUCAST 2012")</code>, no longer causes errors or silently wrong results in <code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code>, <code><a href="../reference/proportion.html">resistance()</a></code>, <code><a href="../reference/proportion.html">susceptibility()</a></code>, <code><a href="../reference/count.html">count_resistant()</a></code>, <code><a href="../reference/count.html">count_susceptible()</a></code>, and the SIR plotting and printing functions (<a href="https://github.com/msberends/AMR/issues/298" class="external-link">#298</a>)</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/as.mic.html">as.mic()</a></code>: values in scientific notation (e.g. <code>1e-3</code>) now handled correctly</li>
|
<code>clinical_breakpoints</code> data set
|
||||||
<li>
|
<ul><li>Fixed EUCAST breakpoint rules for <em>Aerococcus</em> (v12 onwards), which were never applied, and for <em>Pasteurella</em>, which were partly filed under <em>Neisseria meningitidis</em> (<a href="https://github.com/msberends/AMR/issues/290" class="external-link">#290</a>)</li>
|
||||||
<code><a href="../reference/as.ab.html">as.ab()</a></code>: codes containing “PH” or “TH” (e.g. <code>ETH</code>, <code>PHE</code>) no longer return <code>NA</code> when mixed with unrecognised input (<a href="https://github.com/msberends/AMR/issues/245" class="external-link">#245</a>)</li>
|
<li>Fixed streptomycin breakpoints imported from WHONET, which were coded as streptoduocin (<code>STR</code>) instead of streptomycin (<code>STR1</code>)</li>
|
||||||
<li>
|
<li>Fixed CLSI breakpoints for sulbactam/durlobactam, which were coded as sulfadimethoxine (<code>SUD</code>), and added the missing EUCAST 2011 breakpoints for roxithromycin (<a href="https://github.com/msberends/AMR/issues/308" class="external-link">#308</a>)</li>
|
||||||
<code><a href="../reference/as.ab.html">as.ab()</a></code>: results of <code>fast_mode</code> (used internally) were remembered and reused by later regular calls, which could return <code>NA</code> for valid input (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.ab.html">as.ab()</a></code>: input that is not valid UTF-8 (e.g. text exported in a local encoding such as CP949) now returns <code>NA</code> with a warning instead of an error</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.mo.html">as.mo()</a></code>: previously coerced input was often not recognised again, e.g. for an unknown species of a known genus, so it was matched again on every call (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.ab.html">ab_reset_session()</a></code> no longer clears the uncertainties of <code><a href="../reference/as.mo.html">as.mo()</a></code> (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
|
||||||
<li>Combined MIC/SIR input values (e.g. <code>"<= 0.002; S"</code> or <code>"S; 0.002"</code>) now parsed correctly (<a href="https://github.com/msberends/AMR/issues/252" class="external-link">#252</a>)</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.mo.html">as.mo()</a></code>:
|
|
||||||
<ul><li>Input of the form <code>"X complex"</code> now falls back to <code>"X"</code> when the complex is not a distinct taxon in the database, preventing <code>NA</code> results for valid clinical descriptions such as <code>"Proteus vulgaris complex"</code> (<a href="https://github.com/msberends/AMR/issues/287" class="external-link">#287</a>)</li>
|
|
||||||
<li>Abbreviated-genus input (e.g. <code>"S. apiospermum"</code>) now correctly ranks candidates whose species epithet exactly matches the input above more-prevalent organisms whose species does not match; fixes <code>"S. apiospermum"</code> resolving to <em>Staphylococcus</em> instead of <em>Scedosporium apiospermum</em> (<a href="https://github.com/msberends/AMR/issues/288" class="external-link">#288</a>)</li>
|
|
||||||
<li>Abbreviated-genus input for species that have subspecies (e.g. <code>"P. ovale"</code>) now collapses to the species-rank record instead of incorrectly matching a more-prevalent organism; explicit subspecies queries (e.g. <code>"P. ovale curtisi"</code>) are preserved (<a href="https://github.com/msberends/AMR/issues/288" class="external-link">#288</a>)</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>Author references in the <code>microorganisms</code> dataset now strips <code>emend.</code> and everything after it, so <code>ref</code> reflects the combination authority rather than the emendation author (e.g. <em>Rhodococcus equi</em> now returns “Goodfellow et al., 1977” instead of “Nouioui et al., 2018”)</li>
|
|
||||||
<li>BRMO classification now includes bacterial complexes (<a href="https://github.com/msberends/AMR/issues/275" class="external-link">#275</a>)</li>
|
|
||||||
<li>Translation fixes for Italian CoNS/CoPS names (<a href="https://github.com/msberends/AMR/issues/256" class="external-link">#256</a>), Dutch antimicrobials, and <code><a href="../reference/proportion.html">sir_df()</a></code> foreign-language output (<a href="https://github.com/msberends/AMR/issues/272" class="external-link">#272</a>)</li>
|
|
||||||
<li>Fixed some EUCAST Expert Rules, mostly on <em>S. pneumoniae</em>
|
<li>Fixed some EUCAST Expert Rules, mostly on <em>S. pneumoniae</em>
|
||||||
</li>
|
</li>
|
||||||
<li>Logical comparison (<code>==</code>, <code>!=</code>) of <code>sir</code> class with a <code>factor</code> is now possible on R >= 4.3</li>
|
</ul></li>
|
||||||
|
<li>Microorganism coercion (<code><a href="../reference/as.mo.html">as.mo()</a></code>) and properties (<code>mo_*()</code>)
|
||||||
|
<ul><li>Considerably faster through one consistent session cache design, which is cleared when lookup tables change, e.g., after <code><a href="../reference/add_custom_microorganisms.html">add_custom_microorganisms()</a></code> (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/mo_property.html">mo_current()</a></code> and <code><a href="../reference/as.mo.html">as.mo()</a></code> could not find the current name of some synonyms with multiple sources (e.g. <em>Chaetomium abuense</em>)</li>
|
<code>mo_*()</code> functions now retrieve properties of valid <code>mo</code> input directly, and only for unique values</li>
|
||||||
<li>
|
<li>The mapping of outdated taxonomic names to their current names is now remembered per code</li>
|
||||||
<code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code>: species named in a rule now also match all other names of the same accepted taxon (e.g. ‘Clostridium ramosum’ for <em>Thomasclavelia ramosa</em>), which also updates <code>intrinsic_resistant</code>
|
<li>Previously coerced input is now recognised again, e.g., for an unknown species of a known genus, instead of being matched again on every call (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<em>Erysipelatoclostridium</em> and its species are now synonyms of <em>Thomasclavelia</em>; <em>E. merdavium</em> is retired</li>
|
|
||||||
<li>Taxonomy: names that a source lists twice now take the correct record (e.g. <em>Eggerthella lenta</em>, <em>Gordonia amarae</em> and <em>Anisakis simplex</em> were synonyms without a current name)</li>
|
|
||||||
<li>Taxonomy: synonyms without a current name are linked via LPSN or removed, with their codes retired; the <em>M. tuberculosis</em> complex is always kept</li>
|
|
||||||
<li>Taxonomy: consistent higher taxonomy and parent records, and data sets refer only to current names (except <code>intrinsic_resistant</code>)</li>
|
|
||||||
<li>
|
|
||||||
<code>antimicrobials</code>: trade names of combinations (Tazocin, Timentin, Recarbrio, Exblifep) were listed under a single component, and names of screening libraries and suppliers (e.g. Prestwick, Spectrum) as synonyms (<a href="https://github.com/msberends/AMR/issues/315" class="external-link">#315</a>)</li>
|
|
||||||
<li>WT, NWT, NS and NI results were handled incorrectly in <code>count_*()</code> and <code>proportion_*()</code> with multiple antimicrobials (<a href="https://github.com/msberends/AMR/issues/321" class="external-link">#321</a>)</li>
|
|
||||||
<li>Translations were translated again, e.g. “Ticarcillinee” in Dutch and “groupee” in French, and parts of combination names were left untranslated</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/as.mo.html">as.mo()</a></code> now recognises translated names in the set language, such as the output of <code>mo_name(x, language = "fr")</code>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/g.test.html">g.test()</a></code> returned the degrees of freedom as <code>argument</code> instead of <code>parameter</code>, so they were not printed</li>
|
|
||||||
<li>
|
|
||||||
<code><a href="../reference/antibiogram.html">antibiogram()</a></code> and <code><a href="../reference/antibiogram.html">wisca()</a></code> failed without the <code>antimicrobials</code> argument if tidyselect was not available, e.g. for binary installations without dplyr</li>
|
|
||||||
<li>R could crash after unloading the <code>data.table</code> package, and suggested packages available on the machine that built the package were used even if not available to the user</li>
|
|
||||||
</ul></div>
|
|
||||||
<div class="section level4">
|
|
||||||
<h4 id="updated-3-0-1-9126">Updated<a class="anchor" aria-label="anchor" href="#updated-3-0-1-9126"></a></h4>
|
|
||||||
<ul><li>Faster <code><a href="../reference/as.ab.html">as.ab()</a></code>, <code><a href="../reference/as.mo.html">as.mo()</a></code> and all <code>mo_*()</code> functions through one consistent session cache design, which is cleared when lookup tables change, e.g. after <code><a href="../reference/add_custom_microorganisms.html">add_custom_microorganisms()</a></code> (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)
|
|
||||||
<ul><li>
|
|
||||||
<code>mo_*()</code> functions retrieve properties of valid <code><mo></code> input directly, and only for unique values</li>
|
|
||||||
<li>The mapping of outdated taxonomic names to their current names is remembered per code</li>
|
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/as.mo.html">mo_uncertainties()</a></code> now also lists uncertainties of previously coerced input</li>
|
<code><a href="../reference/as.mo.html">mo_uncertainties()</a></code> now also lists uncertainties of previously coerced input</li>
|
||||||
|
<li>Translated names in the set language are now recognised, such as the output of <code>mo_name(x, language = "fr")</code>, and cached per language</li>
|
||||||
|
<li>Input of the form <code>"X complex"</code> now falls back to <code>"X"</code> when the complex is not a distinct taxon, preventing <code>NA</code> for valid clinical descriptions such as <code>"Proteus vulgaris complex"</code> (<a href="https://github.com/msberends/AMR/issues/287" class="external-link">#287</a>)</li>
|
||||||
|
<li>Abbreviated genus input now ranks candidates with an exactly matching species epithet above more prevalent organisms, so that e.g. <code>"S. apiospermum"</code> returns <em>Scedosporium apiospermum</em> instead of a <em>Staphylococcus</em> species (<a href="https://github.com/msberends/AMR/issues/288" class="external-link">#288</a>)</li>
|
||||||
|
<li>Abbreviated genus input for species with subspecies (e.g., <code>"P. ovale"</code>) now returns the species instead of a more prevalent organism, while explicit subspecies (e.g., <code>"P. ovale curtisi"</code>) are preserved (<a href="https://github.com/msberends/AMR/issues/288" class="external-link">#288</a>)</li>
|
||||||
|
<li>
|
||||||
|
<em>Salmonella</em> serovars written with the species, such as <code>"Salmonella enterica serovar Typhi"</code>, no longer return <em>Salmonella bongori</em> or another subspecies</li>
|
||||||
|
<li>
|
||||||
|
<code><a href="../reference/as.mo.html">as.mo()</a></code> and <code><a href="../reference/mo_property.html">mo_current()</a></code> now find the current name of synonyms with multiple sources (e.g., <em>Chaetomium abuense</em>)</li>
|
||||||
|
<li>
|
||||||
|
<code><a href="../reference/mo_property.html">mo_taxonomy()</a></code> and <code><a href="../reference/mo_property.html">mo_info()</a></code> now contain an extra element <code>domain</code>
|
||||||
|
</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/top_n_microorganisms.html">top_n_microorganisms()</a></code>: new <code>property_for_each</code> argument for sub-grouping within top <em>n</em> groups; rank ordering enforced (only lower taxonomic ranks allowed); fixed <code>property = NULL</code> not being accepted; inner filter now tracks original row indices to prevent cross-group contamination</li>
|
<code>microorganisms</code> data set
|
||||||
<li>Taxonomic update for all microorganisms, now updated to COL 2026-04-18 XR, LPSN and BacDive of October 2026, and MycoBank of January 2026</li>
|
<ul><li>Taxonomic update of all microorganisms, now based on COL 2026-04-18 XR, LPSN and BacDive of October 2026, and MycoBank of January 2026</li>
|
||||||
|
<li>Names listed twice by a source now take the correct record (e.g., <em>Eggerthella lenta</em>, <em>Gordonia amarae</em>, and <em>Anisakis simplex</em> were synonyms without a current name)</li>
|
||||||
|
<li>Synonyms without a current name are now linked via LPSN or removed, with their codes retired. The <em>M. tuberculosis</em> complex is always kept.</li>
|
||||||
|
<li>Higher taxonomy and parent records are now consistent, and all data sets refer only to current names (except <code>intrinsic_resistant</code>)</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/mo_property.html">mo_kingdom()</a></code> now returns the formal taxonomic kingdom; a one-time note per session explains the change when querying bacterial or archaeal records.</li>
|
<em>Erysipelatoclostridium</em> and its species are now synonyms of <em>Thomasclavelia</em>; <em>E. merdavium</em> is retired</li>
|
||||||
|
<li>Author references now strip <code>emend.</code> and everything after it, so that <code>ref</code> reflects the combination authority rather than the emendation author (e.g., <em>Rhodococcus equi</em> now returns “Goodfellow et al., 1977” instead of “Nouioui et al., 2018”)</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Antimicrobial coercion (<code><a href="../reference/as.ab.html">as.ab()</a></code>) and <code>antimicrobials</code> data set
|
||||||
|
<ul><li>Considerably faster through the same session cache design as <code><a href="../reference/as.mo.html">as.mo()</a></code> (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
||||||
|
<li>Fixed a bug where results of <code>fast_mode</code> (used internally) were remembered and reused by later regular calls, which could return <code>NA</code> for valid input (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
||||||
|
<li>Codes containing “PH” or “TH” (e.g., <code>ETH</code>, <code>PHE</code>) no longer return <code>NA</code> when mixed with unrecognised input (<a href="https://github.com/msberends/AMR/issues/245" class="external-link">#245</a>)</li>
|
||||||
|
<li>Input that is not valid UTF-8 (e.g., text exported in a local encoding such as CP949) now returns <code>NA</code> with a warning instead of an error</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/mo_property.html">mo_taxonomy()</a></code> and <code><a href="../reference/mo_property.html">mo_info()</a></code> gained <code>domain</code> for the list output</li>
|
<code><a href="../reference/as.ab.html">ab_reset_session()</a></code> no longer clears the uncertainties of <code><a href="../reference/as.mo.html">as.mo()</a></code> (<a href="https://github.com/msberends/AMR/issues/313" class="external-link">#313</a>)</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/antibiogram.html">antibiogram()</a></code> and <code><a href="../reference/antibiogram.html">wisca()</a></code> now also support parallel computing via the argument <code>parallel = TRUE</code> (<a href="https://github.com/msberends/AMR/issues/281" class="external-link">#281</a>)</li>
|
<code>antimicrobials$group</code> is now a <code>list</code>, so that drugs belonging to multiple groups are fully represented. Use <code>ab_group(all_groups = TRUE)</code> to retrieve all groups of a drug (<a href="https://github.com/msberends/AMR/issues/246" class="external-link">#246</a>).</li>
|
||||||
|
<li>Trade names of combinations (Tazocin, Timentin, Recarbrio, Exblifep) were listed under a single component, and names of screening libraries and suppliers (e.g., Prestwick, Spectrum) as synonyms. These have been corrected (<a href="https://github.com/msberends/AMR/issues/315" class="external-link">#315</a>).</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Antibiograms (<code><a href="../reference/antibiogram.html">antibiogram()</a></code> and <code><a href="../reference/antibiogram.html">wisca()</a></code>)
|
||||||
|
<ul><li>
|
||||||
|
<code><a href="../reference/antibiogram.html">wisca()</a></code> now follows Bielicki <em>et al.</em> (2016) more strictly by using <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext mathvariant="normal">Beta</mtext><mo stretchy="false" form="prefix">(</mo><mn>1</mn><mo>,</mo><mn>9999</mn><mo stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">\text{Beta}(1, 9999)</annotation></semantics></math> for intrinsically resistant pairs, forcing near-zero susceptibility regardless of observed data (based on EUCAST Expected Resistant Phenotypes)</li>
|
||||||
|
<li>Fixed a bug where both functions failed without the <code>antimicrobials</code> argument if <code>tidyselect</code> was not available, e.g., for binary installations without <code>dplyr</code>
|
||||||
|
</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Resistance and susceptibility calculation
|
||||||
|
<ul><li>New argument <code>guideline</code> (default: EUCAST) in <code><a href="../reference/proportion.html">susceptibility()</a></code> and <code><a href="../reference/proportion.html">resistance()</a></code> to interpret the ‘I’ category correctly per guideline</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/AMR-deprecated.html">custom_eucast_rules()</a></code> renamed to <code><a href="../reference/custom_interpretive_rules.html">custom_interpretive_rules()</a></code>; old name deprecated but still works (<a href="https://github.com/msberends/AMR/issues/268" class="external-link">#268</a>)</li>
|
<code>count_*()</code> and <code>proportion_*()</code> with multiple antimicrobials behave as in AMR 3.0.1 again, and now handle WT, NWT, NS, and NI results correctly (<a href="https://github.com/msberends/AMR/issues/321" class="external-link">#321</a>)</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>MICs and disk diffusion
|
||||||
|
<ul><li>New argument <code>round_to_next_log2</code> in <code><a href="../reference/as.mic.html">as.mic()</a></code> and <code><a href="../reference/as.mic.html">rescale_mic()</a></code> to round values up to the nearest log2 dilution level (<a href="https://github.com/msberends/AMR/issues/255" class="external-link">#255</a>)</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/mdro.html">mdro()</a></code> can now infer resistance from a drug+inhibitor combination when the base drug column is absent (e.g. piperacillin inferred from piperacillin/tazobactam); controlled via new <code>infer_from_combinations</code> argument (default <code>TRUE</code>) (<a href="https://github.com/msberends/AMR/issues/209" class="external-link">#209</a>)</li>
|
<code><a href="../reference/as.mic.html">as.mic()</a></code> now handles values in scientific notation (e.g., <code>1e-3</code>) correctly</li>
|
||||||
|
<li>Input validation of <code><a href="../reference/as.disk.html">as.disk()</a></code> is now more strict, rejecting values that are not recognisable as a numeric disk zone diameter</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>MDRO determination (<code><a href="../reference/mdro.html">mdro()</a></code>)
|
||||||
|
<ul><li>Resistance can now be inferred from a drug/inhibitor combination when the column of the base drug is absent (e.g., piperacillin inferred from piperacillin/tazobactam). This is controlled with the new argument <code>infer_from_combinations</code> (default: <code>TRUE</code>) (<a href="https://github.com/msberends/AMR/issues/209" class="external-link">#209</a>).</li>
|
||||||
|
<li>BRMO classification now includes bacterial complexes (<a href="https://github.com/msberends/AMR/issues/275" class="external-link">#275</a>)</li>
|
||||||
|
</ul></li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/antibiogram.html">wisca()</a></code> now more strictly follows Bielicki et al. (2016) by using <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext mathvariant="normal">Beta</mtext><mo stretchy="false" form="prefix">(</mo><mn>1</mn><mo>,</mo><mn>9999</mn><mo stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">\text{Beta}(1, 9999)</annotation></semantics></math> for intrinsically resistant pairs, forcing near-zero susceptibility regardless of observed data (based on EUCAST Expected Resistant Phenotypes)</li>
|
<code><a href="../reference/top_n_microorganisms.html">top_n_microorganisms()</a></code>
|
||||||
|
<ul><li>New argument <code>property_for_each</code> for sub-grouping within the top <em>n</em> groups. Rank ordering is enforced, so that only lower taxonomic ranks are allowed.</li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/proportion.html">susceptibility()</a></code> / <code><a href="../reference/proportion.html">resistance()</a></code>: new <code>guideline</code> argument (default EUCAST) to ensure the ‘I’ category is interpreted correctly per guideline</li>
|
<code>property = NULL</code> is now accepted</li>
|
||||||
<li>Capped MIC handling in <code><a href="../reference/as.sir.html">as.sir()</a></code> reworked into four clearly defined options: <code>"none"</code>, <code>"conservative"</code> (new default), <code>"standard"</code>, <code>"lenient"</code> (<a href="https://github.com/msberends/AMR/issues/243" class="external-link">#243</a>)</li>
|
<li>The inner filter now tracks the original row indices, to prevent contamination across groups</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Translations
|
||||||
|
<ul><li>Improved French translations, kindly provided by Mathilde Garé (<a href="https://github.com/msberends/AMR/issues/322" class="external-link">#322</a>)</li>
|
||||||
|
<li>Improved translations of combination names and antimicrobial groups in 20 languages</li>
|
||||||
|
<li>Translations are no longer translated again (e.g., “Ticarcillinee” in Dutch and “groupee” in French), and parts of combination names are no longer left untranslated</li>
|
||||||
|
<li>Fixed Italian names of CoNS and CoPS (<a href="https://github.com/msberends/AMR/issues/256" class="external-link">#256</a>), Dutch names of antimicrobials, and output of <code><a href="../reference/proportion.html">sir_df()</a></code> in other languages (<a href="https://github.com/msberends/AMR/issues/272" class="external-link">#272</a>)</li>
|
||||||
|
</ul></li>
|
||||||
<li>
|
<li>
|
||||||
<code><a href="../reference/as.mic.html">as.mic()</a></code> / <code><a href="../reference/as.mic.html">rescale_mic()</a></code>: new <code>round_to_next_log2</code> argument to round values up to the nearest log2 dilution level (<a href="https://github.com/msberends/AMR/issues/255" class="external-link">#255</a>)</li>
|
<code><a href="../reference/AMR-deprecated.html">custom_eucast_rules()</a></code> has been renamed to <code><a href="../reference/custom_interpretive_rules.html">custom_interpretive_rules()</a></code>. The old name is now deprecated but still works (<a href="https://github.com/msberends/AMR/issues/268" class="external-link">#268</a>).</li>
|
||||||
<li>
|
<li>Logical comparison (<code>==</code>, <code>!=</code>) of the <code>sir</code> class with a <code>factor</code> is now possible on R >= 4.3</li>
|
||||||
<code>antimicrobials$group</code> is now a <code>list</code>, so that drugs belonging to multiple groups are fully represented; use <code>ab_group(all_groups = TRUE)</code> to retrieve all groups for a drug (<a href="https://github.com/msberends/AMR/issues/246" class="external-link">#246</a>)</li>
|
<li>Fixed a bug in <code><a href="../reference/g.test.html">g.test()</a></code> that returned the degrees of freedom as <code>argument</code> instead of <code>parameter</code>, so that they were not printed</li>
|
||||||
<li>Improved console messages with clickable links throughout, powered by <code>cli</code> if it is installed (<a href="https://github.com/msberends/AMR/issues/191" class="external-link">#191</a>, <a href="https://github.com/msberends/AMR/issues/265" class="external-link">#265</a>)</li>
|
<li>Fixed a bug where R could crash after unloading the <code>data.table</code> package, and where suggested packages available on the machine that built the package were used even if they were not available to the user</li>
|
||||||
<li>
|
</ul></div>
|
||||||
<code><a href="../reference/as.disk.html">as.disk()</a></code>: input validation is now more strict, rejecting values that are not recognisable as a numeric disk zone diameter</li>
|
<div class="section level4">
|
||||||
<li>
|
<h4 id="other-3-0-1-9127">Other<a class="anchor" aria-label="anchor" href="#other-3-0-1-9127"></a></h4>
|
||||||
<code><a href="../reference/as.sir.html">as.sir()</a></code> gains an <code>enforce_method</code> argument (<code>"auto"</code>, <code>"mic"</code>, or <code>"disk"</code>) to force the interpretation method when S3 class information is lost, e.g. when called from Python (<a href="https://github.com/msberends/AMR/issues/291" class="external-link">#291</a>)</li>
|
<ul><li>Improved console messages with clickable links throughout the package, powered by <code>cli</code> if it is installed (<a href="https://github.com/msberends/AMR/issues/191" class="external-link">#191</a>, <a href="https://github.com/msberends/AMR/issues/265" class="external-link">#265</a>)</li>
|
||||||
<li>
|
<li>The ‘AMR for Python’ vignette now contains sections on installation channels (stable from CRAN, or development from GitHub via <code>AMR.beta</code>) and on using <code>enforce_method</code> in <code>as_sir()</code> from Python</li>
|
||||||
<code>AMR for Python</code> vignette: added sections on installation channels (stable CRAN vs. development GitHub via <code>AMR.beta</code>) and on using <code>enforce_method</code> in <code>as_sir()</code> from Python</li>
|
|
||||||
<li>Improved French translations, kindly provided by Mathilde Garé (<a href="https://github.com/msberends/AMR/issues/322" class="external-link">#322</a>)</li>
|
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
@@ -348,7 +373,8 @@
|
|||||||
<h4 id="changed-3-0-0">Changed<a class="anchor" aria-label="anchor" href="#changed-3-0-0"></a></h4>
|
<h4 id="changed-3-0-0">Changed<a class="anchor" aria-label="anchor" href="#changed-3-0-0"></a></h4>
|
||||||
<ul><li>SIR interpretation
|
<ul><li>SIR interpretation
|
||||||
<ul><li>Support for parallel computing to greatly improve speed using the <code>parallel</code> package (part of base R). Use <code>as.sir(your_data, parallel = TRUE)</code> to run SIR interpretation using multiple cores.</li>
|
<ul><li>Support for parallel computing to greatly improve speed using the <code>parallel</code> package (part of base R). Use <code>as.sir(your_data, parallel = TRUE)</code> to run SIR interpretation using multiple cores.</li>
|
||||||
<li>It is now possible to use column names for arguments <code>guideline</code>, <code>ab</code>, <code>mo</code>, and <code>uti</code>: <code>as.sir(..., ab = "column1", mo = "column2", uti = "column3")</code>. This greatly improves the flexibility for users.</li>
|
<li>For <code><a href="../reference/as.sir.html">as.sir()</a></code>, it is now possible to use column names for arguments <code>guideline</code>, <code>ab</code>, <code>mo</code>, and <code>uti</code>
|
||||||
|
</li>
|
||||||
<li>Users can now set their own criteria (using regular expressions) as to what should be considered S, I, R, SDD, and NI.</li>
|
<li>Users can now set their own criteria (using regular expressions) as to what should be considered S, I, R, SDD, and NI.</li>
|
||||||
<li>To get quantitative values, <code><a href="https://rdrr.io/r/base/double.html" class="external-link">as.double()</a></code> on a <code>sir</code> object will return 1 for S, 2 for SDD/I, and 3 for R (NI will become <code>NA</code>). Other functions using <code>sir</code> classes (e.g., <code><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary()</a></code>) are updated to reflect the change to contain NI and SDD.</li>
|
<li>To get quantitative values, <code><a href="https://rdrr.io/r/base/double.html" class="external-link">as.double()</a></code> on a <code>sir</code> object will return 1 for S, 2 for SDD/I, and 3 for R (NI will become <code>NA</code>). Other functions using <code>sir</code> classes (e.g., <code><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary()</a></code>) are updated to reflect the change to contain NI and SDD.</li>
|
||||||
<li>Following CLSI interpretation rules, values outside the log2-dilution range will be rounded upwards to the nearest log2-level before interpretation. Only if using a CLSI guideline.</li>
|
<li>Following CLSI interpretation rules, values outside the log2-dilution range will be rounded upwards to the nearest log2-level before interpretation. Only if using a CLSI guideline.</li>
|
||||||
|
|||||||
+309
-284
@@ -1,18 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## AMR 3.0.1.9126
|
## AMR 3.0.1.9127
|
||||||
|
|
||||||
Planned as v3.1.0, mid October 2026.
|
Planned as v3.1.0, mid October 2026.
|
||||||
|
|
||||||
#### Breaking Changes
|
#### Breaking
|
||||||
|
|
||||||
- The former *kingdoms* Bacteria and Archaea are now each divided into
|
- The former *kingdoms* Bacteria and Archaea are now each divided into
|
||||||
four kingdoms with new top-level *domains* ‘Bacteria’ and ‘Archaea’
|
four kingdoms, with new top-level *domains* Bacteria and Archaea
|
||||||
(Göker and Oren, 2024, DOI: 10.1099/ijsem.0.006242). Following this, a
|
(Göker and Oren, 2024, DOI: 10.1099/ijsem.0.006242). Following this, a
|
||||||
new `domain` column in the `microorganisms` data set was added, and
|
new `domain` column was added to the `microorganisms` data set, and
|
||||||
more importantly,
|
|
||||||
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md) now
|
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md) now
|
||||||
returns the formal kingdom (e.g. `"Pseudomonadati"` instead of
|
returns the formal kingdom (e.g., `"Pseudomonadati"` instead of
|
||||||
`"Bacteria"`). Use
|
`"Bacteria"`). Use
|
||||||
[`mo_domain()`](https://amr-for-r.org/reference/mo_property.md) for
|
[`mo_domain()`](https://amr-for-r.org/reference/mo_property.md) for
|
||||||
the old behaviour. For non-prokaryotic kingdoms (Fungi, Protozoa,
|
the old behaviour. For non-prokaryotic kingdoms (Fungi, Protozoa,
|
||||||
@@ -34,320 +33,347 @@ Planned as v3.1.0, mid October 2026.
|
|||||||
| | | |
|
| | | |
|
||||||
| Protozoa | Protozoa | Protozoa |
|
| Protozoa | Protozoa | Protozoa |
|
||||||
|
|
||||||
Thus, [`mo_domain()`](https://amr-for-r.org/reference/mo_property.md)
|
Previously,
|
||||||
was previously an alias of
|
[`mo_domain()`](https://amr-for-r.org/reference/mo_property.md) was an
|
||||||
|
alias of
|
||||||
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md); it
|
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md); it
|
||||||
is now a distinct function returning the domain. Output of
|
is now a distinct function. Its output is therefore unchanged, while
|
||||||
[`mo_domain()`](https://amr-for-r.org/reference/mo_property.md) is
|
|
||||||
therefore unchanged, while
|
|
||||||
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md) now
|
[`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md) now
|
||||||
returns the formal, new kingdom.
|
returns the new formal kingdom. A one-time note per session explains
|
||||||
|
this change when bacterial or archaeal records are queried.
|
||||||
|
|
||||||
- Faster parallel computing via the `future` package for
|
- Parallel computing in
|
||||||
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) and
|
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md),
|
||||||
[`wisca()`](https://amr-for-r.org/reference/antibiogram.md): a
|
[`antibiogram()`](https://amr-for-r.org/reference/antibiogram.md), and
|
||||||
non-sequential plan (e.g. `future::plan(future::multisession)`) must
|
[`wisca()`](https://amr-for-r.org/reference/antibiogram.md) now uses
|
||||||
be active before using `parallel = TRUE`.
|
the `future` and `future.apply` packages, which is faster. A
|
||||||
|
non-sequential plan (e.g., `future::plan(future::multisession)`) must
|
||||||
|
be active before using `parallel = TRUE`
|
||||||
|
([\#281](https://github.com/msberends/AMR/issues/281)).
|
||||||
|
|
||||||
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md) no longer
|
- The options of `capped_mic_handling` in
|
||||||
guesses unknown MO codes (these become `NA` with a warning), and MO
|
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) have been
|
||||||
codes from versions before v2.0.0 are no longer supported
|
redefined as `"none"`, `"conservative"`, `"standard"` (default), and
|
||||||
|
`"lenient"`. The option `"inverse"` is no longer available
|
||||||
|
([\#243](https://github.com/msberends/AMR/issues/243)).
|
||||||
|
|
||||||
#### New
|
#### New
|
||||||
|
|
||||||
- EUCAST 2026 and CLSI 2026 breakpoints: over 5,700 new breakpoints
|
- **Updated clinical breakpoints**
|
||||||
added to the `clinical_breakpoints` data set; EUCAST 2026 is now the
|
- EUCAST 2026 and CLSI 2026 are now supported, by adding over 5,700
|
||||||
default for all MIC and disk diffusion interpretations
|
new breakpoints to the `clinical_breakpoints` data set. EUCAST 2026
|
||||||
- Human EUCAST breakpoints from 2019 (v9.0) on, are now retrieved
|
is now the default guideline for all MIC and disk diffusion
|
||||||
directly from EUCAST Excel files instead of relying on the WHONET
|
interpretations.
|
||||||
repository.
|
- Human EUCAST breakpoints from 2019 (v9.0) onwards are now retrieved
|
||||||
- `clinical_breakpoints` now contains blocking rows (`NA` breakpoints,
|
directly from the EUCAST Excel files, instead of relying on the
|
||||||
reason in `note`) where EUCAST gives no breakpoint for an organism,
|
WHONET repository. As a result:
|
||||||
so [`as.sir()`](https://amr-for-r.org/reference/as.sir.md) no longer
|
- `clinical_breakpoints` now contains blocking rows (`NA`
|
||||||
|
breakpoints, with the reason in `note`) where EUCAST gives no
|
||||||
|
breakpoint for an organism, so that
|
||||||
|
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) no longer
|
||||||
falls back to the breakpoint of a broader taxon
|
falls back to the breakpoint of a broader taxon
|
||||||
- Restrictions in EUCAST notes are applied, e.g. zone diameter
|
- Restrictions in EUCAST notes are applied, e.g., zone diameter
|
||||||
breakpoints for *E. coli* only
|
breakpoints for *E. coli* only
|
||||||
- EUCAST PK-PD (non-species related) breakpoints 2019-2023 and *H.
|
- EUCAST PK-PD (non-species related) breakpoints of 2019-2023 and
|
||||||
parainfluenzae* MIC breakpoints are included
|
*H. parainfluenzae* MIC breakpoints are now included
|
||||||
- Wildtype/Non-wildtype (WT/NWT) output when using ECOFF-based
|
- **Wildtype/Non-wildtype interpretation**
|
||||||
interpretation, by setting `breakpoint_type = "ECOFF"` in
|
- [`as.sir()`](https://amr-for-r.org/reference/as.sir.md) now returns
|
||||||
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md); WT/NWT
|
WT/NWT (Wildtype/Non-wildtype) when using ECOFF-based interpretation
|
||||||
results are fully supported in all resistance/susceptibility functions
|
with `breakpoint_type = "ECOFF"`. WT/NWT results are fully supported
|
||||||
and plots ([\#254](https://github.com/msberends/AMR/issues/254))
|
in all resistance and susceptibility functions and in all plots
|
||||||
- *tidymodels* integration for using SIR, MIC and disk data in modelling
|
([\#254](https://github.com/msberends/AMR/issues/254)).
|
||||||
pipelines:
|
- **Unified interpretive rules**
|
||||||
[`step_mic_log2()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
- New function
|
||||||
[`step_sir_numeric()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md)
|
||||||
and new column selectors
|
applies the interpretive rules of both EUCAST and CLSI.
|
||||||
|
[`eucast_rules()`](https://amr-for-r.org/reference/interpretive_rules.md)
|
||||||
|
is now a wrapper around this function
|
||||||
|
([\#235](https://github.com/msberends/AMR/issues/235),
|
||||||
|
[\#259](https://github.com/msberends/AMR/issues/259)).
|
||||||
|
- Species named in a rule now also match all other names of the same
|
||||||
|
accepted taxon (e.g., ‘Clostridium ramosum’ for *Thomasclavelia
|
||||||
|
ramosa*). This also updated the `intrinsic_resistant` data set.
|
||||||
|
- **Support for `tidymodels` pipelines**
|
||||||
|
- New recipe steps
|
||||||
|
[`step_mic_log2()`](https://amr-for-r.org/reference/amr-tidymodels.md)
|
||||||
|
and
|
||||||
|
[`step_sir_numeric()`](https://amr-for-r.org/reference/amr-tidymodels.md)
|
||||||
|
to use MIC and SIR data in modelling pipelines
|
||||||
|
- New column selectors
|
||||||
[`all_sir()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
[`all_sir()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
||||||
[`all_mic()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
[`all_mic()`](https://amr-for-r.org/reference/amr-tidymodels.md),
|
||||||
|
and
|
||||||
[`all_disk()`](https://amr-for-r.org/reference/amr-tidymodels.md)
|
[`all_disk()`](https://amr-for-r.org/reference/amr-tidymodels.md)
|
||||||
- New `esbl_isolates` data set for practising AMR modelling
|
- New `esbl_isolates` data set for practising AMR modelling
|
||||||
- New antimicrobial selectors:
|
- **Morphology of bacteria**
|
||||||
|
- New `morphology` column in the `microorganisms` data set, with the
|
||||||
|
corresponding function
|
||||||
|
[`mo_morphology()`](https://amr-for-r.org/reference/mo_property.md)
|
||||||
|
to return the cell shape of bacteria. Data are sourced from BacDive;
|
||||||
|
values prefixed with “likely” are extrapolated from the consensus at
|
||||||
|
genus level.
|
||||||
|
- New argument `add_morphology` in
|
||||||
|
[`mo_gramstain()`](https://amr-for-r.org/reference/mo_property.md)
|
||||||
|
to return combined results, such as `"Gram-negative rods"`
|
||||||
|
- **Antimicrobials**
|
||||||
|
- New function
|
||||||
|
[`sir_combine()`](https://amr-for-r.org/reference/sir_combine.md) to
|
||||||
|
combine SIR results of multiple antimicrobials into one variable,
|
||||||
|
for combination therapy (`method = "most_susceptible"`) or for
|
||||||
|
resistance within a group (`method = "most_resistant"`)
|
||||||
|
([\#321](https://github.com/msberends/AMR/issues/321))
|
||||||
|
- New function
|
||||||
|
[`add_custom_antimicrobial_synonyms()`](https://amr-for-r.org/reference/add_custom_antimicrobials.md)
|
||||||
|
to add local names, such as trade names, to existing antimicrobials
|
||||||
|
([\#307](https://github.com/msberends/AMR/issues/307))
|
||||||
|
- New antimicrobial selectors
|
||||||
[`ionophores()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
[`ionophores()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
||||||
[`peptides()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
[`peptides()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
||||||
[`phosphonics()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
[`phosphonics()`](https://amr-for-r.org/reference/antimicrobial_selectors.md),
|
||||||
|
and
|
||||||
[`spiropyrimidinetriones()`](https://amr-for-r.org/reference/antimicrobial_selectors.md)
|
[`spiropyrimidinetriones()`](https://amr-for-r.org/reference/antimicrobial_selectors.md)
|
||||||
- New antimicrobials: cefepime/taniborbactam (`FTA`),
|
- New antimicrobials: cefepime/taniborbactam (`FTA`),
|
||||||
ceftibuten/avibactam (`CTA`), clorobiocin (`CLB`), kasugamycin
|
ceftibuten/avibactam (`CTA`), clorobiocin (`CLB`), kasugamycin
|
||||||
(`KAS`), ostreogrycin (`OST`), Sulbactam/durlobactam (`SUD1`,
|
(`KAS`), ostreogrycin (`OST`), sulbactam/durlobactam (`SUD1`,
|
||||||
[\#308](https://github.com/msberends/AMR/issues/308)), taniborbactam
|
[\#308](https://github.com/msberends/AMR/issues/308)), taniborbactam
|
||||||
(`TAN`), thiostrepton (`THS`), xeruborbactam (`XER`), zorbamycin
|
(`TAN`), thiostrepton (`THS`), xeruborbactam (`XER`), and zorbamycin
|
||||||
(`ZOR`)
|
(`ZOR`)
|
||||||
- New
|
- **Other**
|
||||||
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md),
|
- New function
|
||||||
a unified function for EUCAST and CLSI interpretive rules;
|
[`wisca_plot()`](https://amr-for-r.org/reference/antibiogram.md) to
|
||||||
[`eucast_rules()`](https://amr-for-r.org/reference/interpretive_rules.md)
|
assess the distributions of susceptibility and incidence from the
|
||||||
is now a wrapper around it
|
Monte Carlo simulations of WISCA
|
||||||
([\#235](https://github.com/msberends/AMR/issues/235),
|
- New function
|
||||||
[\#259](https://github.com/msberends/AMR/issues/259))
|
[`amr_course()`](https://amr-for-r.org/reference/amr_course.md) to
|
||||||
- New `morphology` column in the `microorganisms` data set and
|
|
||||||
corresponding
|
|
||||||
[`mo_morphology()`](https://amr-for-r.org/reference/mo_property.md)
|
|
||||||
function, returning the cell shape of bacteria. Data sourced from
|
|
||||||
BacDive; values prefixed with “likely” are extrapolated from
|
|
||||||
genus-level consensus. New `add_morphology` argument was added to
|
|
||||||
[`mo_gramstain()`](https://amr-for-r.org/reference/mo_property.md) to
|
|
||||||
return combined results such as `"Gram-negative rods"`.
|
|
||||||
- New [`amr_course()`](https://amr-for-r.org/reference/amr_course.md) to
|
|
||||||
download and unpack course or webinar materials from GitHub in one
|
download and unpack course or webinar materials from GitHub in one
|
||||||
call
|
call
|
||||||
- Typed missing value constants `NA_ab_` and `NA_mo_`, for use in
|
- New typed missing value constants `NA_ab_` and `NA_mo_`, for use in
|
||||||
pipelines that need missing values of a specific class
|
pipelines that need missing values of a specific class
|
||||||
- New [`wisca_plot()`](https://amr-for-r.org/reference/antibiogram.md)
|
- A registry of all MO codes since v2.0.0 now prevents existing codes
|
||||||
to assess the susceptibility and incidence distributions from the
|
from being reused or mixed up. Codes of earlier releases are
|
||||||
Monte Carlo simulations
|
translated to the current code of the same taxon.
|
||||||
- A registry of all microbial IDs (MO codes) since v2.0.0 now prevents
|
|
||||||
existing IDs from being reused or mixed up; IDs of earlier releases
|
|
||||||
are translated to the current ID of the same taxon
|
|
||||||
- [`add_custom_antimicrobial_synonyms()`](https://amr-for-r.org/reference/add_custom_antimicrobials.md)
|
|
||||||
to add local names, such as trade names, to existing antimicrobials
|
|
||||||
([\#307](https://github.com/msberends/AMR/issues/307))
|
|
||||||
- [`sir_combine()`](https://amr-for-r.org/reference/sir_combine.md) to
|
|
||||||
combine SIR results of multiple antimicrobials into one variable, for
|
|
||||||
combination therapy (`method = "most_susceptible"`) or resistance
|
|
||||||
within a group (`method = "most_resistant"`)
|
|
||||||
([\#321](https://github.com/msberends/AMR/issues/321))
|
|
||||||
|
|
||||||
#### Fixed
|
#### Changed
|
||||||
|
|
||||||
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md) returned
|
- SIR interpretation
|
||||||
*Salmonella bongori* or another subspecies for *Salmonella* serovars
|
([`as.sir()`](https://amr-for-r.org/reference/as.sir.md))
|
||||||
written with the species, such as “Salmonella enterica serovar Typhi”
|
- New argument `enforce_method` (`"auto"`, `"mic"`, or `"disk"`) to
|
||||||
- EUCAST breakpoint rules for *Aerococcus* (v12 onwards) were never
|
force the interpretation method when S3 class information is lost,
|
||||||
applied, and *Pasteurella* rules were partly filed under *Neisseria
|
e.g., when called from Python
|
||||||
meningitidis* ([\#290](https://github.com/msberends/AMR/issues/290))
|
([\#291](https://github.com/msberends/AMR/issues/291))
|
||||||
- Streptomycin breakpoints imported from WHONET were coded as
|
- When input consists of whole numbers only, disk zones are now
|
||||||
streptoduocin (`STR`) instead of streptomycin (`STR1`)
|
assumed rather than MIC values
|
||||||
- CLSI breakpoints for sulbactam/durlobactam were coded as
|
([\#291](https://github.com/msberends/AMR/issues/291))
|
||||||
sulfadimethoxine (`SUD`), and EUCAST 2011 breakpoints for
|
- Capped MICs (e.g., `<=0.5`) now return `I` instead of `S` or `NI` if
|
||||||
roxithromycin were missing
|
there is no S category, i.e., in case of an off-scale S breakpoint
|
||||||
([\#308](https://github.com/msberends/AMR/issues/308))
|
such as EUCAST’s 0.001 mg/L
|
||||||
- Setting `options(AMR_guideline = "EUCAST 2012")` or any year-qualified
|
([\#295](https://github.com/msberends/AMR/issues/295))
|
||||||
value no longer causes errors or silent wrong behaviour in
|
- Capped MICs are no longer forced to `S` or `R` if there is no
|
||||||
|
breakpoint for the drug-bug combination
|
||||||
|
- Fixed the documented default of `capped_mic_handling`, which is
|
||||||
|
`"standard"`
|
||||||
|
- On data frames, already-converted SIR columns are no longer dropped
|
||||||
|
on a re-run ([\#278](https://github.com/msberends/AMR/issues/278))
|
||||||
|
- Metadata columns (e.g., `patient`, `ward`) are no longer
|
||||||
|
misidentified as antimicrobial columns
|
||||||
|
- `info = FALSE` now suppresses all messages, including those for
|
||||||
|
columns without breakpoints
|
||||||
|
- Combined MIC/SIR input values (e.g., `"<= 0.002; S"` or
|
||||||
|
`"S; 0.002"`) are now parsed correctly
|
||||||
|
([\#252](https://github.com/msberends/AMR/issues/252))
|
||||||
|
- Setting a year-qualified guideline, such as
|
||||||
|
`options(AMR_guideline = "EUCAST 2012")`, no longer causes errors or
|
||||||
|
silently wrong results in
|
||||||
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md),
|
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md),
|
||||||
[`resistance()`](https://amr-for-r.org/reference/proportion.md),
|
[`resistance()`](https://amr-for-r.org/reference/proportion.md),
|
||||||
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md),
|
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md),
|
||||||
[`count_resistant()`](https://amr-for-r.org/reference/count.md),
|
[`count_resistant()`](https://amr-for-r.org/reference/count.md),
|
||||||
[`count_susceptible()`](https://amr-for-r.org/reference/count.md), and
|
[`count_susceptible()`](https://amr-for-r.org/reference/count.md),
|
||||||
SIR plotting/printing functions
|
and the SIR plotting and printing functions
|
||||||
([\#298](https://github.com/msberends/AMR/issues/298))
|
([\#298](https://github.com/msberends/AMR/issues/298))
|
||||||
- [`as.sir()`](https://amr-for-r.org/reference/as.sir.md)
|
- `clinical_breakpoints` data set
|
||||||
- On data frames: already-converted SIR columns no longer dropped on
|
- Fixed EUCAST breakpoint rules for *Aerococcus* (v12 onwards), which
|
||||||
re-run ([\#278](https://github.com/msberends/AMR/issues/278))
|
were never applied, and for *Pasteurella*, which were partly filed
|
||||||
- Metadata columns (e.g. `patient`, `ward`) no longer misidentified as
|
under *Neisseria meningitidis*
|
||||||
antibiotic columns
|
([\#290](https://github.com/msberends/AMR/issues/290))
|
||||||
- `info = FALSE` now suppresses all messages, including for columns
|
- Fixed streptomycin breakpoints imported from WHONET, which were
|
||||||
without breakpoints
|
coded as streptoduocin (`STR`) instead of streptomycin (`STR1`)
|
||||||
- Assumption of disk zones are now preferred over MIC values when
|
- Fixed CLSI breakpoints for sulbactam/durlobactam, which were coded
|
||||||
input is only whole numbers
|
as sulfadimethoxine (`SUD`), and added the missing EUCAST 2011
|
||||||
([\#291](https://github.com/msberends/AMR/issues/291))
|
breakpoints for roxithromycin
|
||||||
- Capped MICs (e.g. `<=0.5`) are now `I` instead of `S` or `NI` if
|
([\#308](https://github.com/msberends/AMR/issues/308))
|
||||||
there is no S category, i.e. an off-scale S breakpoint such as
|
- Fixed some EUCAST Expert Rules, mostly on *S. pneumoniae*
|
||||||
EUCAST’s 0.001 mg/L
|
- Microorganism coercion
|
||||||
([\#295](https://github.com/msberends/AMR/issues/295))
|
([`as.mo()`](https://amr-for-r.org/reference/as.mo.md)) and properties
|
||||||
- Capped MICs are no longer forced to `S` or `R` if there is no
|
(`mo_*()`)
|
||||||
breakpoint for the drug-bug combination
|
- Considerably faster through one consistent session cache design,
|
||||||
- Documented default of `capped_mic_handling` corrected to
|
which is cleared when lookup tables change, e.g., after
|
||||||
`"standard"`
|
[`add_custom_microorganisms()`](https://amr-for-r.org/reference/add_custom_microorganisms.md)
|
||||||
- [`as.mic()`](https://amr-for-r.org/reference/as.mic.md): values in
|
([\#313](https://github.com/msberends/AMR/issues/313))
|
||||||
scientific notation (e.g. `1e-3`) now handled correctly
|
- `mo_*()` functions now retrieve properties of valid `mo` input
|
||||||
- [`as.ab()`](https://amr-for-r.org/reference/as.ab.md): codes
|
directly, and only for unique values
|
||||||
containing “PH” or “TH” (e.g. `ETH`, `PHE`) no longer return `NA` when
|
- The mapping of outdated taxonomic names to their current names is
|
||||||
mixed with unrecognised input
|
now remembered per code
|
||||||
|
- Previously coerced input is now recognised again, e.g., for an
|
||||||
|
unknown species of a known genus, instead of being matched again on
|
||||||
|
every call ([\#313](https://github.com/msberends/AMR/issues/313))
|
||||||
|
- [`mo_uncertainties()`](https://amr-for-r.org/reference/as.mo.md) now
|
||||||
|
also lists uncertainties of previously coerced input
|
||||||
|
- Translated names in the set language are now recognised, such as the
|
||||||
|
output of `mo_name(x, language = "fr")`, and cached per language
|
||||||
|
- Input of the form `"X complex"` now falls back to `"X"` when the
|
||||||
|
complex is not a distinct taxon, preventing `NA` for valid clinical
|
||||||
|
descriptions such as `"Proteus vulgaris complex"`
|
||||||
|
([\#287](https://github.com/msberends/AMR/issues/287))
|
||||||
|
- Abbreviated genus input now ranks candidates with an exactly
|
||||||
|
matching species epithet above more prevalent organisms, so that
|
||||||
|
e.g. `"S. apiospermum"` returns *Scedosporium apiospermum* instead
|
||||||
|
of a *Staphylococcus* species
|
||||||
|
([\#288](https://github.com/msberends/AMR/issues/288))
|
||||||
|
- Abbreviated genus input for species with subspecies (e.g.,
|
||||||
|
`"P. ovale"`) now returns the species instead of a more prevalent
|
||||||
|
organism, while explicit subspecies (e.g., `"P. ovale curtisi"`) are
|
||||||
|
preserved ([\#288](https://github.com/msberends/AMR/issues/288))
|
||||||
|
- *Salmonella* serovars written with the species, such as
|
||||||
|
`"Salmonella enterica serovar Typhi"`, no longer return *Salmonella
|
||||||
|
bongori* or another subspecies
|
||||||
|
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md) and
|
||||||
|
[`mo_current()`](https://amr-for-r.org/reference/mo_property.md) now
|
||||||
|
find the current name of synonyms with multiple sources (e.g.,
|
||||||
|
*Chaetomium abuense*)
|
||||||
|
- [`mo_taxonomy()`](https://amr-for-r.org/reference/mo_property.md)
|
||||||
|
and [`mo_info()`](https://amr-for-r.org/reference/mo_property.md)
|
||||||
|
now contain an extra element `domain`
|
||||||
|
- `microorganisms` data set
|
||||||
|
- Taxonomic update of all microorganisms, now based on COL 2026-04-18
|
||||||
|
XR, LPSN and BacDive of October 2026, and MycoBank of January 2026
|
||||||
|
- Names listed twice by a source now take the correct record (e.g.,
|
||||||
|
*Eggerthella lenta*, *Gordonia amarae*, and *Anisakis simplex* were
|
||||||
|
synonyms without a current name)
|
||||||
|
- Synonyms without a current name are now linked via LPSN or removed,
|
||||||
|
with their codes retired. The *M. tuberculosis* complex is always
|
||||||
|
kept.
|
||||||
|
- Higher taxonomy and parent records are now consistent, and all data
|
||||||
|
sets refer only to current names (except `intrinsic_resistant`)
|
||||||
|
- *Erysipelatoclostridium* and its species are now synonyms of
|
||||||
|
*Thomasclavelia*; *E. merdavium* is retired
|
||||||
|
- Author references now strip `emend.` and everything after it, so
|
||||||
|
that `ref` reflects the combination authority rather than the
|
||||||
|
emendation author (e.g., *Rhodococcus equi* now returns “Goodfellow
|
||||||
|
et al., 1977” instead of “Nouioui et al., 2018”)
|
||||||
|
- Antimicrobial coercion
|
||||||
|
([`as.ab()`](https://amr-for-r.org/reference/as.ab.md)) and
|
||||||
|
`antimicrobials` data set
|
||||||
|
- Considerably faster through the same session cache design as
|
||||||
|
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md)
|
||||||
|
([\#313](https://github.com/msberends/AMR/issues/313))
|
||||||
|
- Fixed a bug where results of `fast_mode` (used internally) were
|
||||||
|
remembered and reused by later regular calls, which could return
|
||||||
|
`NA` for valid input
|
||||||
|
([\#313](https://github.com/msberends/AMR/issues/313))
|
||||||
|
- Codes containing “PH” or “TH” (e.g., `ETH`, `PHE`) no longer return
|
||||||
|
`NA` when mixed with unrecognised input
|
||||||
([\#245](https://github.com/msberends/AMR/issues/245))
|
([\#245](https://github.com/msberends/AMR/issues/245))
|
||||||
- [`as.ab()`](https://amr-for-r.org/reference/as.ab.md): results of
|
- Input that is not valid UTF-8 (e.g., text exported in a local
|
||||||
`fast_mode` (used internally) were remembered and reused by later
|
encoding such as CP949) now returns `NA` with a warning instead of
|
||||||
regular calls, which could return `NA` for valid input
|
an error
|
||||||
([\#313](https://github.com/msberends/AMR/issues/313))
|
|
||||||
- [`as.ab()`](https://amr-for-r.org/reference/as.ab.md): input that is
|
|
||||||
not valid UTF-8 (e.g. text exported in a local encoding such as CP949)
|
|
||||||
now returns `NA` with a warning instead of an error
|
|
||||||
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md): previously
|
|
||||||
coerced input was often not recognised again, e.g. for an unknown
|
|
||||||
species of a known genus, so it was matched again on every call
|
|
||||||
([\#313](https://github.com/msberends/AMR/issues/313))
|
|
||||||
- [`ab_reset_session()`](https://amr-for-r.org/reference/as.ab.md) no
|
- [`ab_reset_session()`](https://amr-for-r.org/reference/as.ab.md) no
|
||||||
longer clears the uncertainties of
|
longer clears the uncertainties of
|
||||||
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md)
|
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md)
|
||||||
([\#313](https://github.com/msberends/AMR/issues/313))
|
([\#313](https://github.com/msberends/AMR/issues/313))
|
||||||
- Combined MIC/SIR input values (e.g. `"<= 0.002; S"` or `"S; 0.002"`)
|
- `antimicrobials$group` is now a `list`, so that drugs belonging to
|
||||||
now parsed correctly
|
multiple groups are fully represented. Use
|
||||||
([\#252](https://github.com/msberends/AMR/issues/252))
|
`ab_group(all_groups = TRUE)` to retrieve all groups of a drug
|
||||||
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md):
|
([\#246](https://github.com/msberends/AMR/issues/246)).
|
||||||
- Input of the form `"X complex"` now falls back to `"X"` when the
|
- Trade names of combinations (Tazocin, Timentin, Recarbrio, Exblifep)
|
||||||
complex is not a distinct taxon in the database, preventing `NA`
|
were listed under a single component, and names of screening
|
||||||
results for valid clinical descriptions such as
|
libraries and suppliers (e.g., Prestwick, Spectrum) as synonyms.
|
||||||
`"Proteus vulgaris complex"`
|
These have been corrected
|
||||||
([\#287](https://github.com/msberends/AMR/issues/287))
|
([\#315](https://github.com/msberends/AMR/issues/315)).
|
||||||
- Abbreviated-genus input (e.g. `"S. apiospermum"`) now correctly
|
- Antibiograms
|
||||||
ranks candidates whose species epithet exactly matches the input
|
([`antibiogram()`](https://amr-for-r.org/reference/antibiogram.md) and
|
||||||
above more-prevalent organisms whose species does not match; fixes
|
[`wisca()`](https://amr-for-r.org/reference/antibiogram.md))
|
||||||
`"S. apiospermum"` resolving to *Staphylococcus* instead of
|
- [`wisca()`](https://amr-for-r.org/reference/antibiogram.md) now
|
||||||
*Scedosporium apiospermum*
|
follows Bielicki *et al.* (2016) more strictly by using
|
||||||
([\#288](https://github.com/msberends/AMR/issues/288))
|
$`\text{Beta}(1, 9999)`$ for intrinsically resistant pairs, forcing
|
||||||
- Abbreviated-genus input for species that have subspecies
|
near-zero susceptibility regardless of observed data (based on
|
||||||
(e.g. `"P. ovale"`) now collapses to the species-rank record instead
|
EUCAST Expected Resistant Phenotypes)
|
||||||
of incorrectly matching a more-prevalent organism; explicit
|
- Fixed a bug where both functions failed without the `antimicrobials`
|
||||||
subspecies queries (e.g. `"P. ovale curtisi"`) are preserved
|
argument if `tidyselect` was not available, e.g., for binary
|
||||||
([\#288](https://github.com/msberends/AMR/issues/288))
|
installations without `dplyr`
|
||||||
- Author references in the `microorganisms` dataset now strips `emend.`
|
- Resistance and susceptibility calculation
|
||||||
and everything after it, so `ref` reflects the combination authority
|
- New argument `guideline` (default: EUCAST) in
|
||||||
rather than the emendation author (e.g. *Rhodococcus equi* now returns
|
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md)
|
||||||
“Goodfellow et al., 1977” instead of “Nouioui et al., 2018”)
|
and [`resistance()`](https://amr-for-r.org/reference/proportion.md)
|
||||||
|
to interpret the ‘I’ category correctly per guideline
|
||||||
|
- `count_*()` and `proportion_*()` with multiple antimicrobials behave
|
||||||
|
as in AMR 3.0.1 again, and now handle WT, NWT, NS, and NI results
|
||||||
|
correctly ([\#321](https://github.com/msberends/AMR/issues/321))
|
||||||
|
- MICs and disk diffusion
|
||||||
|
- New argument `round_to_next_log2` in
|
||||||
|
[`as.mic()`](https://amr-for-r.org/reference/as.mic.md) and
|
||||||
|
[`rescale_mic()`](https://amr-for-r.org/reference/as.mic.md) to
|
||||||
|
round values up to the nearest log2 dilution level
|
||||||
|
([\#255](https://github.com/msberends/AMR/issues/255))
|
||||||
|
- [`as.mic()`](https://amr-for-r.org/reference/as.mic.md) now handles
|
||||||
|
values in scientific notation (e.g., `1e-3`) correctly
|
||||||
|
- Input validation of
|
||||||
|
[`as.disk()`](https://amr-for-r.org/reference/as.disk.md) is now
|
||||||
|
more strict, rejecting values that are not recognisable as a numeric
|
||||||
|
disk zone diameter
|
||||||
|
- MDRO determination
|
||||||
|
([`mdro()`](https://amr-for-r.org/reference/mdro.md))
|
||||||
|
- Resistance can now be inferred from a drug/inhibitor combination
|
||||||
|
when the column of the base drug is absent (e.g., piperacillin
|
||||||
|
inferred from piperacillin/tazobactam). This is controlled with the
|
||||||
|
new argument `infer_from_combinations` (default: `TRUE`)
|
||||||
|
([\#209](https://github.com/msberends/AMR/issues/209)).
|
||||||
- BRMO classification now includes bacterial complexes
|
- BRMO classification now includes bacterial complexes
|
||||||
([\#275](https://github.com/msberends/AMR/issues/275))
|
([\#275](https://github.com/msberends/AMR/issues/275))
|
||||||
- Translation fixes for Italian CoNS/CoPS names
|
- [`top_n_microorganisms()`](https://amr-for-r.org/reference/top_n_microorganisms.md)
|
||||||
([\#256](https://github.com/msberends/AMR/issues/256)), Dutch
|
- New argument `property_for_each` for sub-grouping within the top *n*
|
||||||
antimicrobials, and
|
groups. Rank ordering is enforced, so that only lower taxonomic
|
||||||
[`sir_df()`](https://amr-for-r.org/reference/proportion.md)
|
ranks are allowed.
|
||||||
foreign-language output
|
- `property = NULL` is now accepted
|
||||||
([\#272](https://github.com/msberends/AMR/issues/272))
|
- The inner filter now tracks the original row indices, to prevent
|
||||||
- Fixed some EUCAST Expert Rules, mostly on *S. pneumoniae*
|
contamination across groups
|
||||||
- Logical comparison (`==`, `!=`) of `sir` class with a `factor` is now
|
- Translations
|
||||||
possible on R \>= 4.3
|
|
||||||
- [`mo_current()`](https://amr-for-r.org/reference/mo_property.md) and
|
|
||||||
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md) could not find
|
|
||||||
the current name of some synonyms with multiple sources
|
|
||||||
(e.g. *Chaetomium abuense*)
|
|
||||||
- [`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md):
|
|
||||||
species named in a rule now also match all other names of the same
|
|
||||||
accepted taxon (e.g. ‘Clostridium ramosum’ for *Thomasclavelia
|
|
||||||
ramosa*), which also updates `intrinsic_resistant`
|
|
||||||
- *Erysipelatoclostridium* and its species are now synonyms of
|
|
||||||
*Thomasclavelia*; *E. merdavium* is retired
|
|
||||||
- Taxonomy: names that a source lists twice now take the correct record
|
|
||||||
(e.g. *Eggerthella lenta*, *Gordonia amarae* and *Anisakis simplex*
|
|
||||||
were synonyms without a current name)
|
|
||||||
- Taxonomy: synonyms without a current name are linked via LPSN or
|
|
||||||
removed, with their codes retired; the *M. tuberculosis* complex is
|
|
||||||
always kept
|
|
||||||
- Taxonomy: consistent higher taxonomy and parent records, and data sets
|
|
||||||
refer only to current names (except `intrinsic_resistant`)
|
|
||||||
- `antimicrobials`: trade names of combinations (Tazocin, Timentin,
|
|
||||||
Recarbrio, Exblifep) were listed under a single component, and names
|
|
||||||
of screening libraries and suppliers (e.g. Prestwick, Spectrum) as
|
|
||||||
synonyms ([\#315](https://github.com/msberends/AMR/issues/315))
|
|
||||||
- WT, NWT, NS and NI results were handled incorrectly in `count_*()` and
|
|
||||||
`proportion_*()` with multiple antimicrobials
|
|
||||||
([\#321](https://github.com/msberends/AMR/issues/321))
|
|
||||||
- Translations were translated again, e.g. “Ticarcillinee” in Dutch and
|
|
||||||
“groupee” in French, and parts of combination names were left
|
|
||||||
untranslated
|
|
||||||
- [`as.mo()`](https://amr-for-r.org/reference/as.mo.md) now recognises
|
|
||||||
translated names in the set language, such as the output of
|
|
||||||
`mo_name(x, language = "fr")`
|
|
||||||
- [`g.test()`](https://amr-for-r.org/reference/g.test.md) returned the
|
|
||||||
degrees of freedom as `argument` instead of `parameter`, so they were
|
|
||||||
not printed
|
|
||||||
- [`antibiogram()`](https://amr-for-r.org/reference/antibiogram.md) and
|
|
||||||
[`wisca()`](https://amr-for-r.org/reference/antibiogram.md) failed
|
|
||||||
without the `antimicrobials` argument if tidyselect was not available,
|
|
||||||
e.g. for binary installations without dplyr
|
|
||||||
- R could crash after unloading the `data.table` package, and suggested
|
|
||||||
packages available on the machine that built the package were used
|
|
||||||
even if not available to the user
|
|
||||||
|
|
||||||
#### Updated
|
|
||||||
|
|
||||||
- Faster [`as.ab()`](https://amr-for-r.org/reference/as.ab.md),
|
|
||||||
[`as.mo()`](https://amr-for-r.org/reference/as.mo.md) and all `mo_*()`
|
|
||||||
functions through one consistent session cache design, which is
|
|
||||||
cleared when lookup tables change, e.g. after
|
|
||||||
[`add_custom_microorganisms()`](https://amr-for-r.org/reference/add_custom_microorganisms.md)
|
|
||||||
([\#313](https://github.com/msberends/AMR/issues/313))
|
|
||||||
- `mo_*()` functions retrieve properties of valid `<mo>` input
|
|
||||||
directly, and only for unique values
|
|
||||||
- The mapping of outdated taxonomic names to their current names is
|
|
||||||
remembered per code
|
|
||||||
- [`mo_uncertainties()`](https://amr-for-r.org/reference/as.mo.md) now
|
|
||||||
also lists uncertainties of previously coerced input
|
|
||||||
- [`top_n_microorganisms()`](https://amr-for-r.org/reference/top_n_microorganisms.md):
|
|
||||||
new `property_for_each` argument for sub-grouping within top *n*
|
|
||||||
groups; rank ordering enforced (only lower taxonomic ranks allowed);
|
|
||||||
fixed `property = NULL` not being accepted; inner filter now tracks
|
|
||||||
original row indices to prevent cross-group contamination
|
|
||||||
- Taxonomic update for all microorganisms, now updated to COL 2026-04-18
|
|
||||||
XR, LPSN and BacDive of October 2026, and MycoBank of January 2026
|
|
||||||
- [`mo_kingdom()`](https://amr-for-r.org/reference/mo_property.md) now
|
|
||||||
returns the formal taxonomic kingdom; a one-time note per session
|
|
||||||
explains the change when querying bacterial or archaeal records.
|
|
||||||
- [`mo_taxonomy()`](https://amr-for-r.org/reference/mo_property.md) and
|
|
||||||
[`mo_info()`](https://amr-for-r.org/reference/mo_property.md) gained
|
|
||||||
`domain` for the list output
|
|
||||||
- [`antibiogram()`](https://amr-for-r.org/reference/antibiogram.md) and
|
|
||||||
[`wisca()`](https://amr-for-r.org/reference/antibiogram.md) now also
|
|
||||||
support parallel computing via the argument `parallel = TRUE`
|
|
||||||
([\#281](https://github.com/msberends/AMR/issues/281))
|
|
||||||
- [`custom_eucast_rules()`](https://amr-for-r.org/reference/AMR-deprecated.md)
|
|
||||||
renamed to
|
|
||||||
[`custom_interpretive_rules()`](https://amr-for-r.org/reference/custom_interpretive_rules.md);
|
|
||||||
old name deprecated but still works
|
|
||||||
([\#268](https://github.com/msberends/AMR/issues/268))
|
|
||||||
- [`mdro()`](https://amr-for-r.org/reference/mdro.md) can now infer
|
|
||||||
resistance from a drug+inhibitor combination when the base drug column
|
|
||||||
is absent (e.g. piperacillin inferred from piperacillin/tazobactam);
|
|
||||||
controlled via new `infer_from_combinations` argument (default `TRUE`)
|
|
||||||
([\#209](https://github.com/msberends/AMR/issues/209))
|
|
||||||
- [`wisca()`](https://amr-for-r.org/reference/antibiogram.md) now more
|
|
||||||
strictly follows Bielicki et al. (2016) by using
|
|
||||||
$`\text{Beta}(1, 9999)`$ for intrinsically resistant pairs, forcing
|
|
||||||
near-zero susceptibility regardless of observed data (based on EUCAST
|
|
||||||
Expected Resistant Phenotypes)
|
|
||||||
- [`susceptibility()`](https://amr-for-r.org/reference/proportion.md) /
|
|
||||||
[`resistance()`](https://amr-for-r.org/reference/proportion.md): new
|
|
||||||
`guideline` argument (default EUCAST) to ensure the ‘I’ category is
|
|
||||||
interpreted correctly per guideline
|
|
||||||
- Capped MIC handling in
|
|
||||||
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md) reworked into
|
|
||||||
four clearly defined options: `"none"`, `"conservative"` (new
|
|
||||||
default), `"standard"`, `"lenient"`
|
|
||||||
([\#243](https://github.com/msberends/AMR/issues/243))
|
|
||||||
- [`as.mic()`](https://amr-for-r.org/reference/as.mic.md) /
|
|
||||||
[`rescale_mic()`](https://amr-for-r.org/reference/as.mic.md): new
|
|
||||||
`round_to_next_log2` argument to round values up to the nearest log2
|
|
||||||
dilution level ([\#255](https://github.com/msberends/AMR/issues/255))
|
|
||||||
- `antimicrobials$group` is now a `list`, so that drugs belonging to
|
|
||||||
multiple groups are fully represented; use
|
|
||||||
`ab_group(all_groups = TRUE)` to retrieve all groups for a drug
|
|
||||||
([\#246](https://github.com/msberends/AMR/issues/246))
|
|
||||||
- Improved console messages with clickable links throughout, powered by
|
|
||||||
`cli` if it is installed
|
|
||||||
([\#191](https://github.com/msberends/AMR/issues/191),
|
|
||||||
[\#265](https://github.com/msberends/AMR/issues/265))
|
|
||||||
- [`as.disk()`](https://amr-for-r.org/reference/as.disk.md): input
|
|
||||||
validation is now more strict, rejecting values that are not
|
|
||||||
recognisable as a numeric disk zone diameter
|
|
||||||
- [`as.sir()`](https://amr-for-r.org/reference/as.sir.md) gains an
|
|
||||||
`enforce_method` argument (`"auto"`, `"mic"`, or `"disk"`) to force
|
|
||||||
the interpretation method when S3 class information is lost, e.g. when
|
|
||||||
called from Python
|
|
||||||
([\#291](https://github.com/msberends/AMR/issues/291))
|
|
||||||
- `AMR for Python` vignette: added sections on installation channels
|
|
||||||
(stable CRAN vs. development GitHub via `AMR.beta`) and on using
|
|
||||||
`enforce_method` in `as_sir()` from Python
|
|
||||||
- Improved French translations, kindly provided by Mathilde Garé
|
- Improved French translations, kindly provided by Mathilde Garé
|
||||||
([\#322](https://github.com/msberends/AMR/issues/322))
|
([\#322](https://github.com/msberends/AMR/issues/322))
|
||||||
|
- Improved translations of combination names and antimicrobial groups
|
||||||
|
in 20 languages
|
||||||
|
- Translations are no longer translated again (e.g., “Ticarcillinee”
|
||||||
|
in Dutch and “groupee” in French), and parts of combination names
|
||||||
|
are no longer left untranslated
|
||||||
|
- Fixed Italian names of CoNS and CoPS
|
||||||
|
([\#256](https://github.com/msberends/AMR/issues/256)), Dutch names
|
||||||
|
of antimicrobials, and output of
|
||||||
|
[`sir_df()`](https://amr-for-r.org/reference/proportion.md) in other
|
||||||
|
languages ([\#272](https://github.com/msberends/AMR/issues/272))
|
||||||
|
- [`custom_eucast_rules()`](https://amr-for-r.org/reference/AMR-deprecated.md)
|
||||||
|
has been renamed to
|
||||||
|
[`custom_interpretive_rules()`](https://amr-for-r.org/reference/custom_interpretive_rules.md).
|
||||||
|
The old name is now deprecated but still works
|
||||||
|
([\#268](https://github.com/msberends/AMR/issues/268)).
|
||||||
|
- Logical comparison (`==`, `!=`) of the `sir` class with a `factor` is
|
||||||
|
now possible on R \>= 4.3
|
||||||
|
- Fixed a bug in [`g.test()`](https://amr-for-r.org/reference/g.test.md)
|
||||||
|
that returned the degrees of freedom as `argument` instead of
|
||||||
|
`parameter`, so that they were not printed
|
||||||
|
- Fixed a bug where R could crash after unloading the `data.table`
|
||||||
|
package, and where suggested packages available on the machine that
|
||||||
|
built the package were used even if they were not available to the
|
||||||
|
user
|
||||||
|
|
||||||
|
#### Other
|
||||||
|
|
||||||
|
- Improved console messages with clickable links throughout the package,
|
||||||
|
powered by `cli` if it is installed
|
||||||
|
([\#191](https://github.com/msberends/AMR/issues/191),
|
||||||
|
[\#265](https://github.com/msberends/AMR/issues/265))
|
||||||
|
- The ‘AMR for Python’ vignette now contains sections on installation
|
||||||
|
channels (stable from CRAN, or development from GitHub via `AMR.beta`)
|
||||||
|
and on using `enforce_method` in `as_sir()` from Python
|
||||||
|
|
||||||
## AMR 3.0.1
|
## AMR 3.0.1
|
||||||
|
|
||||||
@@ -590,10 +616,9 @@ this change.
|
|||||||
`parallel` package (part of base R). Use
|
`parallel` package (part of base R). Use
|
||||||
`as.sir(your_data, parallel = TRUE)` to run SIR interpretation using
|
`as.sir(your_data, parallel = TRUE)` to run SIR interpretation using
|
||||||
multiple cores.
|
multiple cores.
|
||||||
- It is now possible to use column names for arguments `guideline`,
|
- For [`as.sir()`](https://amr-for-r.org/reference/as.sir.md), it is
|
||||||
`ab`, `mo`, and `uti`:
|
now possible to use column names for arguments `guideline`, `ab`,
|
||||||
`as.sir(..., ab = "column1", mo = "column2", uti = "column3")`. This
|
`mo`, and `uti`
|
||||||
greatly improves the flexibility for users.
|
|
||||||
- Users can now set their own criteria (using regular expressions) as
|
- Users can now set their own criteria (using regular expressions) as
|
||||||
to what should be considered S, I, R, SDD, and NI.
|
to what should be considered S, I, R, SDD, and NI.
|
||||||
- To get quantitative values,
|
- To get quantitative values,
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ articles:
|
|||||||
PCA: PCA.html
|
PCA: PCA.html
|
||||||
WHONET: WHONET.html
|
WHONET: WHONET.html
|
||||||
WISCA: WISCA.html
|
WISCA: WISCA.html
|
||||||
last_built: 2026-10-12T21:00Z
|
last_built: 2026-10-13T06:51Z
|
||||||
urls:
|
urls:
|
||||||
reference: https://amr-for-r.org/reference
|
reference: https://amr-for-r.org/reference
|
||||||
article: https://amr-for-r.org/articles
|
article: https://amr-for-r.org/articles
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ options(AMR_guideline = "CLSI")'><meta property="og:image" content="https://amr-
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ The AMR package is available in English, Arabic, Bengali, Chinese, Czech, Danish
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+11
-11
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -112,16 +112,16 @@
|
|||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">df</span></span></span>
|
<span class="r-in"><span><span class="va">df</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1999-06-30 27 27.28493 0</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1999-06-30 27 27.28767 0</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.70137 31</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 1968-01-29 58 58.70411 31</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.85205 34</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 1965-12-05 60 60.85479 34</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.61644 19</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 1980-03-01 46 46.61918 19</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 76 76.94521 50</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 1949-11-01 76 76.94795 50</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.65753 52</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 1947-02-14 79 79.66027 52</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.64384 59</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 1940-02-19 86 86.64658 59</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.75342 11</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 1988-01-10 38 38.75616 11</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.12603 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 1997-08-27 29 29.12877 2</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.70959 21</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 1978-01-26 48 48.71233 21</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||||
|
|||||||
+10
-10
@@ -81,14 +81,14 @@ df$age_at_y2k <- age(df$birth_date, "2000-01-01")
|
|||||||
|
|
||||||
df
|
df
|
||||||
#> birth_date age age_exact age_at_y2k
|
#> birth_date age age_exact age_at_y2k
|
||||||
#> 1 1999-06-30 27 27.28493 0
|
#> 1 1999-06-30 27 27.28767 0
|
||||||
#> 2 1968-01-29 58 58.70137 31
|
#> 2 1968-01-29 58 58.70411 31
|
||||||
#> 3 1965-12-05 60 60.85205 34
|
#> 3 1965-12-05 60 60.85479 34
|
||||||
#> 4 1980-03-01 46 46.61644 19
|
#> 4 1980-03-01 46 46.61918 19
|
||||||
#> 5 1949-11-01 76 76.94521 50
|
#> 5 1949-11-01 76 76.94795 50
|
||||||
#> 6 1947-02-14 79 79.65753 52
|
#> 6 1947-02-14 79 79.66027 52
|
||||||
#> 7 1940-02-19 86 86.64384 59
|
#> 7 1940-02-19 86 86.64658 59
|
||||||
#> 8 1988-01-10 38 38.75342 11
|
#> 8 1988-01-10 38 38.75616 11
|
||||||
#> 9 1997-08-27 29 29.12603 2
|
#> 9 1997-08-27 29 29.12877 2
|
||||||
#> 10 1978-01-26 48 48.70959 21
|
#> 10 1978-01-26 48 48.71233 21
|
||||||
```
|
```
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ All antibiogram types adhere to previously described approaches (see Source), an
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %&gt;%
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ The antibiotics data set has been renamed to antimicrobials. The old name will b
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -463,10 +463,10 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 4 × 18</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 4 × 18</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> datetime index method ab_given mo_given host_given input_given</span>
|
<span class="r-out co"><span class="r-pr">#></span> datetime index method ab_given mo_given host_given input_given</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2026-10-12 <span style="color: #949494;">21:03:00</span> 1 MIC amoxicillin Escherich… human 8 </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2026-10-13 <span style="color: #949494;">06:53:14</span> 1 MIC amoxicillin Escherich… human 8 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2026-10-12 <span style="color: #949494;">21:03:01</span> 1 MIC cipro Escherich… human 0.256 </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2026-10-13 <span style="color: #949494;">06:53:15</span> 1 MIC cipro Escherich… human 0.256 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2026-10-12 <span style="color: #949494;">21:03:01</span> 1 DISK tobra Escherich… human 16 </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2026-10-13 <span style="color: #949494;">06:53:15</span> 1 DISK tobra Escherich… human 16 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> 2026-10-12 <span style="color: #949494;">21:03:01</span> 1 DISK genta Escherich… human 18 </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> 2026-10-13 <span style="color: #949494;">06:53:15</span> 1 DISK genta Escherich… human 18 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># breakpoint_S_R <chr>, site <chr></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># breakpoint_S_R <chr>, site <chr></span></span>
|
||||||
|
|||||||
+4
-4
@@ -722,10 +722,10 @@ sir_interpretation_history()
|
|||||||
#> # A tibble: 4 × 18
|
#> # A tibble: 4 × 18
|
||||||
#> datetime index method ab_given mo_given host_given input_given
|
#> datetime index method ab_given mo_given host_given input_given
|
||||||
#> <dttm> <int> <chr> <chr> <chr> <chr> <chr>
|
#> <dttm> <int> <chr> <chr> <chr> <chr> <chr>
|
||||||
#> 1 2026-10-12 21:03:00 1 MIC amoxicillin Escherich… human 8
|
#> 1 2026-10-13 06:53:14 1 MIC amoxicillin Escherich… human 8
|
||||||
#> 2 2026-10-12 21:03:01 1 MIC cipro Escherich… human 0.256
|
#> 2 2026-10-13 06:53:15 1 MIC cipro Escherich… human 0.256
|
||||||
#> 3 2026-10-12 21:03:01 1 DISK tobra Escherich… human 16
|
#> 3 2026-10-13 06:53:15 1 DISK tobra Escherich… human 16
|
||||||
#> 4 2026-10-12 21:03:01 1 DISK genta Escherich… human 18
|
#> 4 2026-10-13 06:53:15 1 DISK genta Escherich… human 18
|
||||||
#> # ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,
|
#> # ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,
|
||||||
#> # outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,
|
#> # outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,
|
||||||
#> # breakpoint_S_R <chr>, site <chr>
|
#> # breakpoint_S_R <chr>, site <chr>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Use as.sir() to transform MICs or disks measurements to SIR values."><meta prope
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ To improve the interpretation of the antibiogram before CLSI/EUCAST interpretive
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ This data set is carefully crafted, yet made 100% reproducible from public and a
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ This is the fastest way to have your organisation (or analysis) specific codes p
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ Especially the scale_*_mic() functions are relevant wrappers to plot MIC values
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ NOTE: These functions are deprecated and will be removed in a future version. Us
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ See Combination Therapy below for the exact rules. The same rules are used by an
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9126</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9127</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
[{"path":"https://amr-for-r.org/CLAUDE.html","id":null,"dir":"","previous_headings":"","what":"CLAUDE.md — AMR R Package","title":"CLAUDE.md — AMR R Package","text":"file provides context Claude Code working repository.","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"project-overview","dir":"","previous_headings":"","what":"Project Overview","title":"CLAUDE.md — AMR R Package","text":"AMR zero-dependency R package antimicrobial resistance (AMR) data analysis using One Health approach. peer-reviewed, used 175+ countries, supports 28 languages. Key capabilities: - SIR (Susceptible/Intermediate/Resistant) classification using EUCAST 2011–2025 CLSI 2011–2025 breakpoints - Antibiogram generation: traditional, combined, syndromic, WISCA - Microorganism taxonomy database (~79,000 species) - Antimicrobial drug database (~620 drugs) - Multi-drug resistant organism (MDRO) classification - First-isolate identification - Minimum Inhibitory Concentration (MIC) disk diffusion handling - Multilingual output (28 languages)","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"common-commands","dir":"","previous_headings":"","what":"Common Commands","title":"CLAUDE.md — AMR R Package","text":"commands run inside R session: shell:","code":"# Rebuild documentation (roxygen2 → .Rd files + NAMESPACE) devtools::document() # Run all tests devtools::test() # Full package check (CRAN-level: docs + tests + checks) devtools::check() # Build pkgdown website locally pkgdown::build_site() # Code coverage report covr::package_coverage() # CRAN check from parent directory R CMD check AMR"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"repository-structure","dir":"","previous_headings":"","what":"Repository Structure","title":"CLAUDE.md — AMR R Package","text":"","code":"R/ # All R source files (62 files, ~28,000 lines) man/ # Auto-generated .Rd documentation (do not edit manually) tests/testthat/ # testthat test files (test-*.R) and helper-functions.R data/ # Pre-compiled .rda datasets data-raw/ # Scripts used to generate data/ files vignettes/ # Rmd vignette articles inst/ # Installed files (translations, etc.) _pkgdown.yml # pkgdown website configuration"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"r-source-file-conventions","dir":"","previous_headings":"","what":"R Source File Conventions","title":"CLAUDE.md — AMR R Package","text":"Naming conventions R/: Key source files: aa_helper_functions.R / aa_helper_pm_functions.R — internal utility functions (large; ~63 KB ~37 KB) aa_globals.R — global constants breakpoint lookup structures aa_options.R — amr_options() / get_AMR_option() system mo.R / mo_property.R — microorganism lookup properties ab.R / ab_property.R — antimicrobial drug functions av.R / av_property.R — antiviral drug functions sir.R / sir_calc.R / sir_df.R — SIR classification engine mic.R / disk.R — MIC disk diffusion classes antibiogram.R — antibiogram generation (traditional, combined, syndromic, WISCA) first_isolate.R — first-isolate identification algorithms mdro.R — MDRO classification (EUCAST, CLSI, CDC, custom guidelines) amr_selectors.R — tidyselect helpers selecting AMR columns interpretive_rules.R / custom_eucast_rules.R — clinical interpretation rules translate.R — 28-language translation system ggplot_sir.R / ggplot_pca.R / plotting.R — visualisation functions","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"code-style","dir":"","previous_headings":"","what":"Code Style","title":"CLAUDE.md — AMR R Package","text":"Follow tidyverse style guide precisely. Key rules: 2-space indentation; tabs <- assignment, = Spaces around binary operators commas; spaces inside parentheses function call must break across lines, place first argument new line indented 2 spaces, put closing ) line — never align arguments opening parenthesis (hanging/forced mid-line indentation)","code":"# good stop_( \"some long message part one \", \"part two\" ) # bad — forces indentation to match the opening parenthesis stop_(\"some long message part one \", \"part two\")"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"custom-s3-classes","dir":"","previous_headings":"","what":"Custom S3 Classes","title":"CLAUDE.md — AMR R Package","text":"package defines five S3 classes full print/format/plot/vctrs support:","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"data-files","dir":"","previous_headings":"","what":"Data Files","title":"CLAUDE.md — AMR R Package","text":"Pre-compiled data/ (edit directly; regenerate via data-raw/ scripts):","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"zero-dependency-design","dir":"","previous_headings":"","what":"Zero-Dependency Design","title":"CLAUDE.md — AMR R Package","text":"package Imports DESCRIPTION. optional integrations (ggplot2, dplyr, data.table, tidymodels, cli, crayon, etc.) listed Suggests guarded : Line truncated
|
[{"path":"https://amr-for-r.org/CLAUDE.html","id":null,"dir":"","previous_headings":"","what":"CLAUDE.md — AMR R Package","title":"CLAUDE.md — AMR R Package","text":"file provides context Claude Code working repository.","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"project-overview","dir":"","previous_headings":"","what":"Project Overview","title":"CLAUDE.md — AMR R Package","text":"AMR zero-dependency R package antimicrobial resistance (AMR) data analysis using One Health approach. peer-reviewed, used 175+ countries, supports 28 languages. Key capabilities: - SIR (Susceptible/Intermediate/Resistant) classification using EUCAST 2011–2025 CLSI 2011–2025 breakpoints - Antibiogram generation: traditional, combined, syndromic, WISCA - Microorganism taxonomy database (~79,000 species) - Antimicrobial drug database (~620 drugs) - Multi-drug resistant organism (MDRO) classification - First-isolate identification - Minimum Inhibitory Concentration (MIC) disk diffusion handling - Multilingual output (28 languages)","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"common-commands","dir":"","previous_headings":"","what":"Common Commands","title":"CLAUDE.md — AMR R Package","text":"commands run inside R session: shell:","code":"# Rebuild documentation (roxygen2 → .Rd files + NAMESPACE) devtools::document() # Run all tests devtools::test() # Full package check (CRAN-level: docs + tests + checks) devtools::check() # Build pkgdown website locally pkgdown::build_site() # Code coverage report covr::package_coverage() # CRAN check from parent directory R CMD check AMR"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"repository-structure","dir":"","previous_headings":"","what":"Repository Structure","title":"CLAUDE.md — AMR R Package","text":"","code":"R/ # All R source files (62 files, ~28,000 lines) man/ # Auto-generated .Rd documentation (do not edit manually) tests/testthat/ # testthat test files (test-*.R) and helper-functions.R data/ # Pre-compiled .rda datasets data-raw/ # Scripts used to generate data/ files vignettes/ # Rmd vignette articles inst/ # Installed files (translations, etc.) _pkgdown.yml # pkgdown website configuration"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"r-source-file-conventions","dir":"","previous_headings":"","what":"R Source File Conventions","title":"CLAUDE.md — AMR R Package","text":"Naming conventions R/: Key source files: aa_helper_functions.R / aa_helper_pm_functions.R — internal utility functions (large; ~63 KB ~37 KB) aa_globals.R — global constants breakpoint lookup structures aa_options.R — amr_options() / get_AMR_option() system mo.R / mo_property.R — microorganism lookup properties ab.R / ab_property.R — antimicrobial drug functions av.R / av_property.R — antiviral drug functions sir.R / sir_calc.R / sir_df.R — SIR classification engine mic.R / disk.R — MIC disk diffusion classes antibiogram.R — antibiogram generation (traditional, combined, syndromic, WISCA) first_isolate.R — first-isolate identification algorithms mdro.R — MDRO classification (EUCAST, CLSI, CDC, custom guidelines) amr_selectors.R — tidyselect helpers selecting AMR columns interpretive_rules.R / custom_eucast_rules.R — clinical interpretation rules translate.R — 28-language translation system ggplot_sir.R / ggplot_pca.R / plotting.R — visualisation functions","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"code-style","dir":"","previous_headings":"","what":"Code Style","title":"CLAUDE.md — AMR R Package","text":"Follow tidyverse style guide precisely. Key rules: 2-space indentation; tabs <- assignment, = Spaces around binary operators commas; spaces inside parentheses function call must break across lines, place first argument new line indented 2 spaces, put closing ) line — never align arguments opening parenthesis (hanging/forced mid-line indentation)","code":"# good stop_( \"some long message part one \", \"part two\" ) # bad — forces indentation to match the opening parenthesis stop_(\"some long message part one \", \"part two\")"},{"path":"https://amr-for-r.org/CLAUDE.html","id":"custom-s3-classes","dir":"","previous_headings":"","what":"Custom S3 Classes","title":"CLAUDE.md — AMR R Package","text":"package defines five S3 classes full print/format/plot/vctrs support:","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"data-files","dir":"","previous_headings":"","what":"Data Files","title":"CLAUDE.md — AMR R Package","text":"Pre-compiled data/ (edit directly; regenerate via data-raw/ scripts):","code":""},{"path":"https://amr-for-r.org/CLAUDE.html","id":"zero-dependency-design","dir":"","previous_headings":"","what":"Zero-Dependency Design","title":"CLAUDE.md — AMR R Package","text":"package Imports DESCRIPTION. optional integrations (ggplot2, dplyr, data.table, tidymodels, cli, crayon, etc.) listed Suggests guarded : Line truncated
|
||||||
Reference in new issue
Block a user