Data sets for download / own use
-19 September 2024
+22 September 2024
Source:vignettes/datasets.Rmd
datasets.Rmd
AMR 2.1.1.9077
+AMR 2.1.1.9078
(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
- Removed all functions and references that used the deprecated
rsi
class, which were all replaced with theirsir
equivalents over a year ago
New
+New
- One Health implementation
- Function
as.sir()
now has extensive support for animal breakpoints from CLSI. Usebreakpoint_type = "animal"
and set thehost
argument to a variable that contains animal species names. - The
clinical_breakpoints
data set contains all these breakpoints, and can be downloaded on our download page.
@@ -101,13 +101,19 @@
- Function
Changed
+Changed
- SIR interpretation
- It is now possible to use column names for argument
ab
,mo
, anduti
:as.sir(..., ab = "column1", mo = "column2", uti = "column3")
. This greatly improves the flexibility for users. - Users can now set their own criteria (using regular expressions) as to what should be considered S, I, R, SDD, and NI.
- To get quantitative values,
as.double()
on asir
object will return 1 for S, 2 for SDD/I, and 3 for R (NI will becomeNA
). Other functions usingsir
classes (e.g.,summary()
) are updated to reflect the change to contain NI and SDD.
- It is now possible to use column names for argument
-
+
antibiogram()
function +- New argument
formatting_type
to set any of the 12 options for the formatting of all ‘cells’. This defaults to10
, changing the output of antibiograms to cells with5% (15/300)
instead of the previous standard of just5
.
+ - For this reason,
add_total_n
is nowFALSE
at default since the denominators are added to the cells
+ - The
ab_transform
argument now defaults to"name"
, displaying antibiotic column names instead of codes
+
+ - New argument
-
antibiotics
data set- Added “clindamycin inducible screening” as
CLI1
. Since clindamycin is a lincosamide, the antibiotic selectorlincosamides()
now contains the argumentonly_treatable = TRUE
(similar to other antibiotic selectors that contain non-treatable drugs) - Added Amorolfine (
AMO
, D01AE16), which is now also part of theantifungals()
selector
@@ -141,7 +147,7 @@
- Fixed a bug for when
antibiogram()
returns an empty data set
- Added “clindamycin inducible screening” as
Other
+Other
- Greatly updated and expanded documentation
- Added Jordan Stull, Matthew Saab, and Javier Sanchez as contributors, to thank them for their valuable input
Options
-AMR_breakpoint_type
A character to use inas.sir()
, to indicate which breakpoint type to use. This must be either "ECOFF", "animal", or "human".
+AMR_antibiogram_formatting_type
A numeric (1-12) to use inantibiogram()
, to indicate which formatting type to use.
+AMR_breakpoint_type
A character to use inas.sir()
, to indicate which breakpoint type to use. This must be either "ECOFF", "animal", or "human".AMR_cleaning_regex
A regular expression (case-insensitive) to use inas.mo()
and allmo_*
functions, to clean the user input. The default is the outcome ofmo_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 inadd_custom_antimicrobials()
.AMR_custom_mo
A file location to an RDS file, to use custom microorganisms with this package. This is explained inadd_custom_microorganisms()
.
diff --git a/reference/AMR.html b/reference/AMR.html
index a9ac0794..08cc418c 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.9077
+ 2.1.1.9078