|
@@ -106,7 +106,7 @@
as.mo() no longer guesses unknown MO codes (these become NA with a warning), and MO codes from versions before v2.0.0 are no longer supported
- New
+ New
- EUCAST 2026 and CLSI 2026 breakpoints: over 5,700 new breakpoints added to the
clinical_breakpoints data set; EUCAST 2026 is now the default for all MIC and disk diffusion interpretations
- Human EUCAST breakpoints from 2019 (v9.0) on, are now retrieved directly from EUCAST Excel files instead of relying on the WHONET repository.
-
@@ -133,7 +133,7 @@
- Sulbactam/durlobactam (
SUD1) added to the antimicrobials data set (#308)
- Fixed
+ Fixed
-
as.mo() returned Salmonella bongori or another subspecies for Salmonella serovars written with the species, such as “Salmonella enterica serovar Typhi”
- EUCAST breakpoint rules for Aerococcus (v12 onwards) were never applied, and Pasteurella rules were partly filed under Neisseria meningitidis (#290)
@@ -147,6 +147,10 @@
-
info = FALSE now suppresses all messages, including for columns without breakpoints
- Assumption of disk zones are now preferred over MIC values when input is only whole numbers (#291)
+- Capped MICs (e.g.
<=0.5) are now I instead of S or NI if there is no S category, i.e. an off-scale S breakpoint such as EUCAST’s 0.001 mg/L (#295)
+- Capped MICs are no longer forced to
S or R if there is no breakpoint for the drug-bug combination
+- Documented default of
capped_mic_handling corrected to "standard"
+
as.mic(): values in scientific notation (e.g. 1e-3) now handled correctly
@@ -188,7 +192,7 @@
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)
- Updated
+ Updated
- Faster
as.ab(), as.mo() and all mo_*() functions through one consistent session cache design, which is cleared when lookup tables change, e.g. after add_custom_microorganisms() (#313)
-
mo_*() functions retrieve properties of valid <mo> input directly, and only for unique values
diff --git a/news/index.md b/news/index.md
index 364988cf1..cdd07fc58 100644
--- a/news/index.md
+++ b/news/index.md
@@ -1,6 +1,6 @@
# Changelog
-## AMR 3.0.1.9114
+## AMR 3.0.1.9115
Planned as v3.1.0, mid October 2026.
@@ -157,6 +157,14 @@ Planned as v3.1.0, mid October 2026.
- Assumption of disk zones are now preferred over MIC values when
input is only whole numbers
([\#291](https://github.com/msberends/AMR/issues/291))
+ - Capped MICs (e.g. `<=0.5`) are now `I` instead of `S` or `NI` if
+ there is no S category, i.e. an off-scale S breakpoint such as
+ EUCAST’s 0.001 mg/L
+ ([\#295](https://github.com/msberends/AMR/issues/295))
+ - Capped MICs are no longer forced to `S` or `R` if there is no
+ breakpoint for the drug-bug combination
+ - Documented default of `capped_mic_handling` corrected to
+ `"standard"`
- [`as.mic()`](https://amr-for-r.org/reference/as.mic.md): values in
scientific notation (e.g. `1e-3`) now handled correctly
- [`as.ab()`](https://amr-for-r.org/reference/as.ab.md): codes
diff --git a/pkgdown.yml b/pkgdown.yml
index 7fb35044b..e7c70cfd3 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -10,7 +10,7 @@ articles:
PCA: PCA.html
WHONET: WHONET.html
WISCA: WISCA.html
-last_built: 2026-10-11T08:08Z
+last_built: 2026-10-11T13:44Z
urls:
reference: https://amr-for-r.org/reference
article: https://amr-for-r.org/articles
diff --git a/reference/AMR-deprecated.html b/reference/AMR-deprecated.html
index a9df9c674..a60ee781c 100644
--- a/reference/AMR-deprecated.html
+++ b/reference/AMR-deprecated.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
AMR_breakpoint_type A character to use in as.sir(), to indicate which breakpoint type to use. This must be either "ECOFF", "animal", or "human".
-AMR_capped_mic_handling A character to use in as.sir(), to indicate how capped MIC values (<, <=, >, >=) should be interpreted. Must be one of "none", "conservative", "standard", or "lenient" - the default is "conservative".
+AMR_capped_mic_handling A character to use in as.sir(), to indicate how capped MIC values (<, <=, >, >=) should be interpreted. Must be one of "none", "conservative", "standard", or "lenient" - the default is "standard".
AMR_cleaning_regex A regular expression (case-insensitive) to use in as.mo() and all mo_* functions, to clean the user input. The default is the outcome of mo_cleaning_regex(), which removes texts between brackets and texts such as "species" and "serovar".
AMR_custom_ab A file location to an RDS file, to use custom antimicrobial drugs with this package. This is explained in add_custom_antimicrobials().
AMR_custom_mo A file location to an RDS file, to use custom microorganisms with this package. This is explained in add_custom_microorganisms().
diff --git a/reference/AMR-options.md b/reference/AMR-options.md
index 640a5e481..ecf4494bd 100644
--- a/reference/AMR-options.md
+++ b/reference/AMR-options.md
@@ -24,7 +24,7 @@ the `AMR` package. Set them using the
[`as.sir()`](https://amr-for-r.org/reference/as.sir.md), to indicate
how capped MIC values (`<`, `<=`, `>`, `>=`) should be interpreted.
Must be one of `"none"`, `"conservative"`, `"standard"`, or
- `"lenient"` - the default is `"conservative"`.
+ `"lenient"` - the default is `"standard"`.
- `AMR_cleaning_regex`
A [regular expression](https://rdrr.io/r/base/regex.html)
diff --git a/reference/AMR.html b/reference/AMR.html
index b1b8e004b..396b0761f 100644
--- a/reference/AMR.html
+++ b/reference/AMR.html
@@ -21,7 +21,7 @@ The AMR package is available in English, Arabic, Bengali, Chinese, Czech, Danish
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/WHOCC.html b/reference/WHOCC.html
index 551f076ac..1c4198655 100644
--- a/reference/WHOCC.html
+++ b/reference/WHOCC.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/WHONET.html b/reference/WHONET.html
index f58d65803..bdea74e87 100644
--- a/reference/WHONET.html
+++ b/reference/WHONET.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/ab_from_text.html b/reference/ab_from_text.html
index f5e1fb26d..50bd5d9da 100644
--- a/reference/ab_from_text.html
+++ b/reference/ab_from_text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/ab_property.html b/reference/ab_property.html
index 4fa1716a4..1b2fc94da 100644
--- a/reference/ab_property.html
+++ b/reference/ab_property.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/add_custom_antimicrobials.html b/reference/add_custom_antimicrobials.html
index 075a7ed54..84caedd11 100644
--- a/reference/add_custom_antimicrobials.html
+++ b/reference/add_custom_antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/add_custom_microorganisms.html b/reference/add_custom_microorganisms.html
index 86ef87dcc..388def5ac 100644
--- a/reference/add_custom_microorganisms.html
+++ b/reference/add_custom_microorganisms.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/age.html b/reference/age.html
index f31f98aef..935e16fe0 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/age_groups.html b/reference/age_groups.html
index f35170a48..aced0efc4 100644
--- a/reference/age_groups.html
+++ b/reference/age_groups.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/amr-tidymodels.html b/reference/amr-tidymodels.html
index 4180c5678..049c31f5c 100644
--- a/reference/amr-tidymodels.html
+++ b/reference/amr-tidymodels.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/amr_course.html b/reference/amr_course.html
index 9399e0896..ec0cdf633 100644
--- a/reference/amr_course.html
+++ b/reference/amr_course.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/antibiogram.html b/reference/antibiogram.html
index cff0be664..04b36c77c 100644
--- a/reference/antibiogram.html
+++ b/reference/antibiogram.html
@@ -13,7 +13,7 @@ All antibiogram types adhere to previously described approaches (see Source), an
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/antimicrobial_selectors.html b/reference/antimicrobial_selectors.html
index 317244de2..9eba71078 100644
--- a/reference/antimicrobial_selectors.html
+++ b/reference/antimicrobial_selectors.html
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %>%
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/antimicrobials.html b/reference/antimicrobials.html
index d9e06585e..2e6bc022c 100644
--- a/reference/antimicrobials.html
+++ b/reference/antimicrobials.html
@@ -9,7 +9,7 @@ The antibiotics data set has been renamed to antimicrobials. The old name will b
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.ab.html b/reference/as.ab.html
index 48df57871..d5e837fb2 100644
--- a/reference/as.ab.html
+++ b/reference/as.ab.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.av.html b/reference/as.av.html
index d6a54550d..c53863eff 100644
--- a/reference/as.av.html
+++ b/reference/as.av.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.disk.html b/reference/as.disk.html
index da7540edd..41bda217e 100644
--- a/reference/as.disk.html
+++ b/reference/as.disk.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.mic.html b/reference/as.mic.html
index c3344ffff..d06674352 100644
--- a/reference/as.mic.html
+++ b/reference/as.mic.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.mo.html b/reference/as.mo.html
index 099c22798..927682b1a 100644
--- a/reference/as.mo.html
+++ b/reference/as.mo.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
diff --git a/reference/as.sir.html b/reference/as.sir.html
index c8029bf74..e20a34974 100644
--- a/reference/as.sir.html
+++ b/reference/as.sir.html
@@ -9,7 +9,7 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
AMR (for R)
- 3.0.1.9114
+ 3.0.1.9115
@@ -202,14 +202,15 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
- capped_mic_handling
A character string that controls how MIC values with a cap (i.e., starting with <, <=, >, or >=) are interpreted. Supports the following options:
"none"
"conservative" (default)
"conservative"
<=, <, > and >= return "NI" (non-interpretable) if the true MIC could be at either side of the breakpoint.
This is the only mode that preserves uncertainty for ECOFFs.
-
"standard"
"standard" (default)
<= and >= return "NI" (non-interpretable) if the true MIC could be at either side of the breakpoint.
< always returns "S", regardless of the breakpoint.
> always returns "R", regardless of the breakpoint.
"lenient"
<= and < always return "S", regardless of the breakpoint.
>= and > always return "R", regardless of the breakpoint.
-
The default "conservative" setting ensures cautious handling of uncertain values while preserving interpretability. This option can also be set with the package option AMR_capped_mic_handling.
+
In all modes except "none", a capped value is never forced to a category that the guideline does not provide for the drug-bug combination: if a breakpoint is missing, the result is NA as for uncapped values. EUCAST uses an off-scale S breakpoint of 0.001 mg/L to indicate that there is no S category (stored as 0.0001 in clinical_breakpoints; any S breakpoint of 0.001 or lower is treated as such). In that case, < and <= values that cannot be "R" return "I" (or "SDD"), and "standard" and "lenient" return "I" (or "SDD") instead of "S".
+ The default "standard" setting ensures cautious handling of uncertain values while preserving interpretability. This option can also be set with the package option AMR_capped_mic_handling.
as_wt_nwt
@@ -290,7 +291,7 @@ Breakpoints are currently implemented from EUCAST 2011-2026 and CLSI 2011-2026,
# fast processing with parallel computing (requires future.apply):
as.sir(your_data, ..., parallel = TRUE)
-Operators like "<=" will be considered according to the capped_mic_handling setting. At default, an MIC value of e.g. ">2" will return "NI" (non-interpretable) if the breakpoint is 4-8; the true MIC could be at either side of the breakpoint. This is to prevent that capped values from raw laboratory data would not be treated conservatively.
+Operators like "<=" will be considered according to the capped_mic_handling setting. At default, an MIC value of e.g. ">=2" will return "NI" (non-interpretable) if the breakpoint is 4-8; the true MIC could be at either side of the breakpoint. This is to prevent that capped values from raw laboratory data would not be treated conservatively.
Note: When using CLSI as the guideline, MIC values must be log2-based doubling dilutions. Values not in this format, will be automatically rounded up to the nearest log2 level as CLSI instructs, and a warning will be thrown.
For interpreting disk diffusion diameters according to EUCAST or CLSI. You must clean your disk zones first using as.disk(), that also gives your columns the new data class disk. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo argument. |