(this beta version will eventually become v3.0. We’re happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using the instructions here.)
-
A New Milestone: AMR v3.0 with One Health Support (= Human + Veterinary + Environmental)
+
A New Milestone: AMR v3.0 with One Health Support (= Human + Veterinary + Environmental)
This package now supports not only tools for AMR data analysis in clinical settings, but also for veterinary and environmental microbiology. This was made possible through a collaboration with the University of Prince Edward Island’s Atlantic Veterinary College, Canada. To celebrate this great improvement of the package, we also updated the package logo to reflect this change.
-
Breaking
+
Breaking
Dataset antibiotics has been renamed to antimicrobials as the data set contains more than just antibiotics. Using antibiotics will still work, but now returns a warning.
Removed all functions and references that used the deprecated rsi class, which were all replaced with their sir equivalents over two years ago.
Function as.sir() now has extensive support for veterinary breakpoints from CLSI. Use breakpoint_type = "animal" and set the host argument to a variable that contains animal species names.
@@ -117,7 +117,7 @@
-
Changed
+
Changed
SIR interpretation
Support for parallel computing using the parallel package (part of base R). Use as.sir(your_data, parallel = TRUE) to run SIR interpretation using multiple cores.
It is now possible to use column names for arguments guideline, ab, mo, and uti: as.sir(..., ab = "column1", mo = "column2", uti = "column3"). This greatly improves the flexibility for users.
@@ -199,7 +199,7 @@
Added console colours support of sir class for Positron
Added Dr. Larisse Bolton and Aislinn Cook as contributors for their fantastic implementation of WISCA in a mathematically solid way
Added Matthew Saab, Dr. Jordan Stull, and Prof. Javier Sanchez as contributors for their tremendous input on veterinary breakpoints and interpretations
@@ -209,7 +209,7 @@
Stopped support for SAS (.xpt) files, since their file structure and extremely inefficient and requires more disk space than GitHub allows in a single commit.
-
Older Versions
+
Older Versions
This changelog only contains changes from AMR v3.0 (March 2025) and later.
diff --git a/pkgdown.yml b/pkgdown.yml
index 8f100e68e..bae7837d0 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -11,7 +11,7 @@ articles:
PCA: PCA.html
welcome_to_AMR: welcome_to_AMR.html
WHONET: WHONET.html
-last_built: 2025-04-26T13:52Z
+last_built: 2025-04-26T14:39Z
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 b4aabf35a..38fd82a50 100644
--- a/reference/AMR-deprecated.html
+++ b/reference/AMR-deprecated.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/AMR-options.html b/reference/AMR-options.html
index db7326648..c517cf123 100644
--- a/reference/AMR-options.html
+++ b/reference/AMR-options.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/AMR.html b/reference/AMR.html
index f60632b1b..b225951b2 100644
--- a/reference/AMR.html
+++ b/reference/AMR.html
@@ -21,7 +21,7 @@ The AMR package is available in English, Chinese, Czech, Danish, Dutch, Finnish,
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/WHOCC.html b/reference/WHOCC.html
index b1115cbd0..26d140a5c 100644
--- a/reference/WHOCC.html
+++ b/reference/WHOCC.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/WHONET.html b/reference/WHONET.html
index 7547d7fc6..47e8b25c1 100644
--- a/reference/WHONET.html
+++ b/reference/WHONET.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/ab_from_text.html b/reference/ab_from_text.html
index 710e41f3c..a7b281793 100644
--- a/reference/ab_from_text.html
+++ b/reference/ab_from_text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/ab_property.html b/reference/ab_property.html
index 4c3291562..0866c53a8 100644
--- a/reference/ab_property.html
+++ b/reference/ab_property.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/add_custom_antimicrobials.html b/reference/add_custom_antimicrobials.html
index cec8bc019..09daa43dd 100644
--- a/reference/add_custom_antimicrobials.html
+++ b/reference/add_custom_antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
@@ -98,7 +98,7 @@
# returns a wildly guessed result:as.ab("testab")#> Class 'ab'
-#> [1] CTE
+#> [1] THA# now add a custom entry - it will be considered by as.ab() and# all ab_*() functions
diff --git a/reference/add_custom_microorganisms.html b/reference/add_custom_microorganisms.html
index 0c65b10ee..0fe998233 100644
--- a/reference/add_custom_microorganisms.html
+++ b/reference/add_custom_microorganisms.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/age.html b/reference/age.html
index 10e789d81..4f2c342c7 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/age_groups.html b/reference/age_groups.html
index b9703a1d2..cdbdffdde 100644
--- a/reference/age_groups.html
+++ b/reference/age_groups.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/antibiogram.html b/reference/antibiogram.html
index e01db053b..f8ca46d62 100644
--- a/reference/antibiogram.html
+++ b/reference/antibiogram.html
@@ -9,7 +9,7 @@ Adhering to previously described approaches (see Source) and especially the Baye
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/antimicrobial_selectors.html b/reference/antimicrobial_selectors.html
index 61f864db3..683a2b1fd 100644
--- a/reference/antimicrobial_selectors.html
+++ b/reference/antimicrobial_selectors.html
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %>%
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/antimicrobials.html b/reference/antimicrobials.html
index ef4a14d00..90b28720f 100644
--- a/reference/antimicrobials.html
+++ b/reference/antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/as.ab.html b/reference/as.ab.html
index 3ad45dde8..51ee3f058 100644
--- a/reference/as.ab.html
+++ b/reference/as.ab.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
@@ -163,7 +163,7 @@
#> [1] ERYas.ab("Romycin")# trade name#> Class 'ab'
-#> [1] ERY
+#> [1] AST# spelling from different languages and dyslexia are no problemab_atc("ceftriaxon")
diff --git a/reference/as.av.html b/reference/as.av.html
index 821129577..f086341c5 100644
--- a/reference/as.av.html
+++ b/reference/as.av.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
diff --git a/reference/as.disk.html b/reference/as.disk.html
index b7ac26845..fe7712095 100644
--- a/reference/as.disk.html
+++ b/reference/as.disk.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
@@ -128,36 +128,11 @@
ab ="ampicillin", # and `ab` with as.ab() guideline ="EUCAST")
-#>
-#>ℹ Run sir_interpretation_history() afterwards to retrieve a logbook with
-#> all the details of the breakpoint interpretations.
-#>
-#>ℹ Returning previously coerced values for various antimicrobials. Run
-#>ab_reset_session() to reset this. This note will be shown once per
-#> session.
-#>Interpreting disk diffusion zones: 'ampicillin' (AMP), EUCAST 2025...
-#> OK #> Class 'sir'#> [1] R# interpret whole data set, pretend to be all from urinary tract infections:as.sir(df, uti =TRUE)
-#>
-#>ℹ Run sir_interpretation_history() afterwards to retrieve a logbook with
-#> all the details of the breakpoint interpretations.
-#>
-#>Interpreting disk diffusion zones: column 'AMP' (ampicillin), EUCAST
-#>2025...
-#> OK
-#>Interpreting disk diffusion zones: column 'CIP' (ciprofloxacin), EUCAST
-#>2025...
-#> OK
-#>Interpreting disk diffusion zones: column 'GEN' (gentamicin), EUCAST
-#>2025...
-#> OK
-#>Interpreting disk diffusion zones: column 'TOB' (tobramycin), EUCAST
-#>2025...
-#> OK #> microorganism AMP CIP GEN TOB#> 1 Escherichia coli S <NA> S S
diff --git a/reference/as.mic-2.png b/reference/as.mic-2.png
new file mode 100644
index 000000000..c7957bd01
Binary files /dev/null and b/reference/as.mic-2.png differ
diff --git a/reference/as.mic-3.png b/reference/as.mic-3.png
new file mode 100644
index 000000000..cdd8a30c6
Binary files /dev/null and b/reference/as.mic-3.png differ
diff --git a/reference/as.mic-4.png b/reference/as.mic-4.png
new file mode 100644
index 000000000..675168e80
Binary files /dev/null and b/reference/as.mic-4.png differ
diff --git a/reference/as.mic.html b/reference/as.mic.html
index 352856095..add1352b6 100644
--- a/reference/as.mic.html
+++ b/reference/as.mic.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9253
+ 2.1.1.9255
@@ -183,39 +183,31 @@
ab ="AMX", guideline ="EUCAST")
-#>
-#>ℹ Run sir_interpretation_history() afterwards to retrieve a logbook with
-#> all the details of the breakpoint interpretations.
-#>
-#>Interpreting MIC values: 'AMX' (amoxicillin), EUCAST 2025...
-#>Error in rbindlist(l, use.names, fill, idcol, ignore.attr): Class attribute on column 5 of item 2 does not match with column 5 of item 1. You can deactivate this safety-check by using ignore.attr=TRUE
+#> Class 'sir'
+#> [1] Ras.sir( x =as.mic(c(0.01, 2, 4, 8)), mo =as.mo("Streptococcus pneumoniae"), ab ="AMX", guideline ="EUCAST")
-#>
-#>ℹ Run sir_interpretation_history() afterwards to retrieve a logbook with
-#> all the details of the breakpoint interpretations.
-#>
-#>Interpreting MIC values: 'AMX' (amoxicillin), EUCAST 2025...
-#>Error in rbindlist(l, use.names, fill, idcol, ignore.attr): Class attribute on column 5 of item 2 does not match with column 5 of item 1. You can deactivate this safety-check by using ignore.attr=TRUE
+#> Class 'sir'
+#> [1] S R R R# plot MIC values, see ?plotplot(mic_data)plot(mic_data, mo ="E. coli", ab ="cipro")
-#>Error in rbindlist(l, use.names, fill, idcol, ignore.attr): Class attribute on column 4 of item 2 does not match with column 4 of item 1. You can deactivate this safety-check by using ignore.attr=TRUE
+if(require("ggplot2")){autoplot(mic_data, mo ="E. coli", ab ="cipro")}
-#>Error in rbindlist(l, use.names, fill, idcol, ignore.attr): Class attribute on column 4 of item 2 does not match with column 4 of item 1. You can deactivate this safety-check by using ignore.attr=TRUE
+if(require("ggplot2")){autoplot(mic_data, mo ="E. coli", ab ="cipro", language ="nl")# Dutch}
-#>Error in rbindlist(l, use.names, fill, idcol, ignore.attr): Class attribute on column 4 of item 2 does not match with column 4 of item 1. You can deactivate this safety-check by using ignore.attr=TRUE
+