mirror of
https://github.com/msberends/AMR.git
synced 2026-11-29 08:06:14 +01:00
Built site for AMR@3.0.1.9137: dbd95ff
This commit is contained in:
1 parent
80ce33a8f6
commit
840ba97370
93 files changed
+262
-170
No files matched your search
+9
-7
@@ -7,7 +7,7 @@
|
||||
|
||||
<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.9136</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">3.0.1.9137</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">
|
||||
@@ -49,10 +49,10 @@
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 class="pkg-version" data-toc-text="3.0.1.9136" id="amr-3019136">AMR 3.0.1.9136<a class="anchor" aria-label="anchor" href="#amr-3019136"></a></h2>
|
||||
<h2 class="pkg-version" data-toc-text="3.0.1.9137" id="amr-3019137">AMR 3.0.1.9137<a class="anchor" aria-label="anchor" href="#amr-3019137"></a></h2>
|
||||
<p>Planned as v3.1.0, mid October 2026.</p>
|
||||
<div class="section level4">
|
||||
<h4 id="breaking-3-0-1-9136">Breaking<a class="anchor" aria-label="anchor" href="#breaking-3-0-1-9136"></a></h4>
|
||||
<h4 id="breaking-3-0-1-9137">Breaking<a class="anchor" aria-label="anchor" href="#breaking-3-0-1-9137"></a></h4>
|
||||
<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 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>
|
||||
@@ -105,9 +105,10 @@
|
||||
<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>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>
|
||||
<li><p><code><a href="../reference/as.sir.html">as.sir()</a></code> now returns WT/NWT (Wildtype/Non-wildtype) instead of S/R 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>).</p></li>
|
||||
<li><p><code><a href="../reference/count.html">count_df()</a></code>, <code><a href="../reference/proportion.html">proportion_df()</a></code>, and <code><a href="../reference/proportion.html">sir_df()</a></code> now follow the <code>AMR_guideline</code> option through their new <code>guideline</code> argument. With CLSI, <code>combine_SI = TRUE</code> merges ‘I’ with R into <code>"IR"</code> and returns <code>"S"</code> vs. <code>"IR"</code>, consistent with <code><a href="../reference/count.html">count_susceptible()</a></code> and <code><a href="../reference/proportion.html">susceptibility()</a></code>. Previously, these functions always merged ‘I’ with S, as with EUCAST. Use <code>guideline = "EUCAST"</code> for the old behaviour. This also applies to <code><a href="../reference/ggplot_sir.html">ggplot_sir()</a></code>, <code><a href="../reference/ggplot_sir.html">geom_sir()</a></code>, and <code><a href="../reference/plot.html">labels_sir_count()</a></code>, which got the same argument.</p></li>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="new-3-0-1-9136">New<a class="anchor" aria-label="anchor" href="#new-3-0-1-9136"></a></h4>
|
||||
<h4 id="new-3-0-1-9137">New<a class="anchor" aria-label="anchor" href="#new-3-0-1-9137"></a></h4>
|
||||
<ul><li>
|
||||
<strong>Updated clinical breakpoints</strong>
|
||||
<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>
|
||||
@@ -153,7 +154,7 @@
|
||||
</ul></li>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="changed-3-0-1-9136">Changed<a class="anchor" aria-label="anchor" href="#changed-3-0-1-9136"></a></h4>
|
||||
<h4 id="changed-3-0-1-9137">Changed<a class="anchor" aria-label="anchor" href="#changed-3-0-1-9137"></a></h4>
|
||||
<ul><li>SIR interpretation (<code><a href="../reference/as.sir.html">as.sir()</a></code>)
|
||||
<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>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>
|
||||
@@ -232,7 +233,7 @@
|
||||
</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>
|
||||
<ul><li>New argument <code>guideline</code> (default: EUCAST) in <code><a href="../reference/proportion.html">susceptibility()</a></code>, <code><a href="../reference/proportion.html">resistance()</a></code>, <code><a href="../reference/count.html">count_df()</a></code>, <code><a href="../reference/proportion.html">proportion_df()</a></code>, <code><a href="../reference/proportion.html">sir_df()</a></code>, <code><a href="../reference/ggplot_sir.html">ggplot_sir()</a></code>, <code><a href="../reference/ggplot_sir.html">geom_sir()</a></code>, and <code><a href="../reference/plot.html">labels_sir_count()</a></code> to interpret the ‘I’ category correctly per guideline</li>
|
||||
<li>
|
||||
<code>count_*()</code> and <code>proportion_*()</code> 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>
|
||||
@@ -274,8 +275,9 @@
|
||||
<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>
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="other-3-0-1-9136">Other<a class="anchor" aria-label="anchor" href="#other-3-0-1-9136"></a></h4>
|
||||
<h4 id="other-3-0-1-9137">Other<a class="anchor" aria-label="anchor" href="#other-3-0-1-9137"></a></h4>
|
||||
<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>The documentation of <code><a href="../reference/translate.html">get_AMR_locale()</a></code> now describes the actual order in which the language is determined: the <code>AMR_locale</code> option, then the <code>LANG</code> system variable, then <code>LANGUAGE</code> only if <code>LANG</code> is not set, and then the system locale</li>
|
||||
<li>Revamped console output of <code><a href="../reference/interpretive_rules.html">interpretive_rules()</a></code>, with section headers, S/I/R values styled as in the printing of <code>sir</code> columns in tibbles, and the summary of edits sorted by SIR level, using <code>cli</code> if it is installed (<a href="https://github.com/msberends/AMR/issues/259" class="external-link">#259</a>)</li>
|
||||
<li>The printing of <code><a href="../reference/custom_interpretive_rules.html">custom_interpretive_rules()</a></code> and <code><a href="../reference/custom_mdro_guideline.html">custom_mdro_guideline()</a></code> now styles SIR values as in tibbles, i.e., the colour of <code>I</code> depends on the guideline. <code>WT</code>, <code>NWT</code>, and <code>NS</code> were previously shown as <code>SDD</code>, <code>I</code>, and <code>R</code>, and values other than <code>S</code> and <code>R</code> as <code>I</code>.</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>
|
||||
|
||||
+30
-4
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## AMR 3.0.1.9136
|
||||
## AMR 3.0.1.9137
|
||||
|
||||
Planned as v3.1.0, mid October 2026.
|
||||
|
||||
@@ -63,6 +63,21 @@ Planned as v3.1.0, mid October 2026.
|
||||
fully supported in all resistance and susceptibility functions and in
|
||||
all plots ([\#254](https://github.com/msberends/AMR/issues/254)).
|
||||
|
||||
- [`count_df()`](https://amr-for-r.org/reference/count.md),
|
||||
[`proportion_df()`](https://amr-for-r.org/reference/proportion.md),
|
||||
and [`sir_df()`](https://amr-for-r.org/reference/proportion.md) now
|
||||
follow the `AMR_guideline` option through their new `guideline`
|
||||
argument. With CLSI, `combine_SI = TRUE` merges ‘I’ with R into `"IR"`
|
||||
and returns `"S"` vs. `"IR"`, consistent with
|
||||
[`count_susceptible()`](https://amr-for-r.org/reference/count.md) and
|
||||
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md).
|
||||
Previously, these functions always merged ‘I’ with S, as with EUCAST.
|
||||
Use `guideline = "EUCAST"` for the old behaviour. This also applies to
|
||||
[`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md),
|
||||
[`geom_sir()`](https://amr-for-r.org/reference/ggplot_sir.md), and
|
||||
[`labels_sir_count()`](https://amr-for-r.org/reference/plot.md), which
|
||||
got the same argument.
|
||||
|
||||
#### New
|
||||
|
||||
- **Updated clinical breakpoints**
|
||||
@@ -326,9 +341,15 @@ Planned as v3.1.0, mid October 2026.
|
||||
installations without `dplyr`
|
||||
- Resistance and susceptibility calculation
|
||||
- New argument `guideline` (default: EUCAST) in
|
||||
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md)
|
||||
and [`resistance()`](https://amr-for-r.org/reference/proportion.md)
|
||||
to interpret the ‘I’ category correctly per guideline
|
||||
[`susceptibility()`](https://amr-for-r.org/reference/proportion.md),
|
||||
[`resistance()`](https://amr-for-r.org/reference/proportion.md),
|
||||
[`count_df()`](https://amr-for-r.org/reference/count.md),
|
||||
[`proportion_df()`](https://amr-for-r.org/reference/proportion.md),
|
||||
[`sir_df()`](https://amr-for-r.org/reference/proportion.md),
|
||||
[`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md),
|
||||
[`geom_sir()`](https://amr-for-r.org/reference/ggplot_sir.md), and
|
||||
[`labels_sir_count()`](https://amr-for-r.org/reference/plot.md) to
|
||||
interpret the ‘I’ category correctly per guideline
|
||||
- `count_*()` and `proportion_*()` now handle WT, NWT, NS, and NI
|
||||
results correctly
|
||||
([\#321](https://github.com/msberends/AMR/issues/321))
|
||||
@@ -422,6 +443,11 @@ Planned as v3.1.0, mid October 2026.
|
||||
powered by `cli` if it is installed
|
||||
([\#191](https://github.com/msberends/AMR/issues/191),
|
||||
[\#265](https://github.com/msberends/AMR/issues/265))
|
||||
- The documentation of
|
||||
[`get_AMR_locale()`](https://amr-for-r.org/reference/translate.md) now
|
||||
describes the actual order in which the language is determined: the
|
||||
`AMR_locale` option, then the `LANG` system variable, then `LANGUAGE`
|
||||
only if `LANG` is not set, and then the system locale
|
||||
- Revamped console output of
|
||||
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md),
|
||||
with section headers, S/I/R values styled as in the printing of `sir`
|
||||
|
||||
Reference in new issue
Block a user