mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
EUCAST import: blocking rows, note restrictions, PK-PD and parser fixes (#310)
Make the EUCAST Clinical Breakpoint Tables import (2019-2026) fail-safe: - Add blocking rows (NA breakpoints, reason in `note`) where EUCAST gives no breakpoint for an organism (IE, "-", Note, brackets, "except" clauses, table scope), so as.sir() no longer falls back to broader taxa - Apply restrictions from EUCAST notes via a curated rule table with a completeness guard (e.g. zone diameters for E. coli only) - Import PK-PD (non-species related) breakpoints 2019-2023, H. parainfluenzae MIC breakpoints, and explicit screening thresholds from notes (high-level aminoglycosides, cefoxitin MIC, unidentified CoNS) - Parser fixes: lost Staphylococcus sheets 2019/2020, note keys and bodies, struck-through cells, hidden sheets, missing disk contents, organism groups, site vocabulary, MIC dilution levels, off-scale breakpoints stored as 0.0001 - Keep EUCAST antifungal breakpoints 2019-2025 from WHONET; code WHONET streptomycin as STR1 instead of STR (streptoduocin) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5d9974e2b9
commit
dab4c47e86
25 files changed
+83693
-58604
No files matched your search
@@ -28,6 +28,9 @@ Planned as v3.1.0, mid October 2026.
|
||||
### 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.
|
||||
* `clinical_breakpoints` now contains blocking rows (`NA` breakpoints, reason in `note`) where EUCAST gives no breakpoint for an organism, so `as.sir()` no longer falls back to the breakpoint of a broader taxon
|
||||
* Restrictions in EUCAST notes are applied, e.g. zone diameter breakpoints for *E. coli* only
|
||||
* EUCAST PK-PD (non-species related) breakpoints 2019-2023 and *H. parainfluenzae* MIC breakpoints are included
|
||||
* Wildtype/Non-wildtype (WT/NWT) output when using ECOFF-based interpretation, by setting `breakpoint_type = "ECOFF"` in `as.sir()`; WT/NWT results are fully supported in all resistance/susceptibility functions and plots (#254)
|
||||
* *tidymodels* integration for using SIR, MIC and disk data in modelling pipelines: `step_mic_log2()`, `step_sir_numeric()`, and new column selectors `all_sir()`, `all_mic()`, `all_disk()`
|
||||
* New `esbl_isolates` data set for practising AMR modelling
|
||||
@@ -40,6 +43,7 @@ Planned as v3.1.0, mid October 2026.
|
||||
* New `wisca_plot()` to assess the susceptibility and incidence distributions from the Monte Carlo simulations
|
||||
|
||||
### Fixed
|
||||
* Streptomycin breakpoints imported from WHONET were coded as streptoduocin (`STR`) instead of streptomycin (`STR1`)
|
||||
* Setting `options(AMR_guideline = "EUCAST 2012")` or any year-qualified value no longer causes errors or silent wrong behaviour in `interpretive_rules()`, `resistance()`, `susceptibility()`, `count_resistant()`, `count_susceptible()`, and SIR plotting/printing functions (#298)
|
||||
* `as.sir()`
|
||||
* On data frames: already-converted SIR columns no longer dropped on re-run (#278)
|
||||
|
||||
Reference in new issue
Block a user