@@ -260,21 +261,21 @@ make the structure of your data generally look like this:
-
2024-02-24
+
2024-02-25
abcd
Escherichia coli
S
S
-
2024-02-24
+
2024-02-25
abcd
Escherichia coli
S
R
-
2024-02-24
+
2024-02-25
efgh
Escherichia coli
R
diff --git a/articles/EUCAST.html b/articles/EUCAST.html
index 07290485..bb0e4eb6 100644
--- a/articles/EUCAST.html
+++ b/articles/EUCAST.html
@@ -15,7 +15,8 @@
-
+
+
@@ -38,7 +39,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/articles/MDR.html b/articles/MDR.html
index 26dec9a0..a3950c14 100644
--- a/articles/MDR.html
+++ b/articles/MDR.html
@@ -15,7 +15,8 @@
-
+
+
@@ -38,7 +39,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
@@ -401,19 +402,19 @@ names or codes, this would have worked exactly the same way:
head(my_TB_data)#> rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-#> 1 R I S I I I
-#> 2 S R S I I I
-#> 3 R R I R I R
-#> 4 R S S S R S
-#> 5 I I R I S I
-#> 6 R R I I S R
+#> 1 I I R R R R
+#> 2 S I S S S S
+#> 3 I S S S R R
+#> 4 I R R S S R
+#> 5 R R R R S I
+#> 6 S I R R S I#> kanamycin#> 1 S
-#> 2 S
+#> 2 R#> 3 R
-#> 4 R
-#> 5 I
-#> 6 I
+#> 4 S
+#> 5 R
+#> 6 S
We can now add the interpretation of MDR-TB to our data set. You can
use:
Provides an all-in-one solution for AMR data analysis in a One Health approach
Generates antibiograms - traditional, combined, syndromic, and even WISCA
Provides the full microbiological taxonomy and data on all antimicrobial drugs
-
Applies all recent CLSI and EUCAST clinical breakpoints for MICs and disk zones
+
Applies all recent CLSI and EUCAST clinical and veterinary breakpoints for MICs and disk zones
Corrects for duplicate isolates, calculates and predicts AMR per antibiotic class
Integrates with WHONET, ATC, EARS-Net, PubChem, LOINC and SNOMED CT
diff --git a/logo.svg b/logo.svg
index 1f741a76..40c6633c 100644
--- a/logo.svg
+++ b/logo.svg
@@ -1,3335 +1,566 @@
-
-
-
+
+
diff --git a/mstile-150x150.png b/mstile-150x150.png
index ac16fc81..29ef584c 100644
Binary files a/mstile-150x150.png and b/mstile-150x150.png differ
diff --git a/mstile-310x310.png b/mstile-310x310.png
index f83d2feb..9873e8e9 100644
Binary files a/mstile-310x310.png and b/mstile-310x310.png differ
diff --git a/news/index.html b/news/index.html
index 13fd36f1..5f68903c 100644
--- a/news/index.html
+++ b/news/index.html
@@ -1,5 +1,5 @@
-Changelog • AMR (for R)Changelog • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
@@ -159,23 +159,32 @@
-
AMR 2.1.1.9009
+
AMR 2.1.1.9010
(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!)
-
-
A New Milestone: 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, Canada. To celebrate this great improvement of the package, we also updated the package logo to reflect this change. * as.sir() now supports animal breakpoints from CLSI. Use breakpoint_type = "animal" and set the host 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. * The antibiotics data set contains all veterinary antibiotics, such as pradofloxacin and enrofloxacin. All WHOCC codes for veterinary use have been added as well. * ab_atc() now supports ATC codes of veterinary antibiotics (that all start with “Q”) * ab_url() now supports retrieving the WHOCC url of their ATCvet pages
+
+
A New Milestone: 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, 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 their sir equivalents over a year ago
-
New functions
-
The group scale_*_mic(), namely: scale_x_mic(), scale_y_mic(), scale_colour_mic() and scale_fill_mic(). They are advanced ggplot2 extensions to allow easy plotting of MIC values. They allow for manual range definition and plotting missing intermediate log2 levels.
+
New
+
The function group scale_*_mic(), namely: scale_x_mic(), scale_y_mic(), scale_colour_mic() and scale_fill_mic(). They are advanced ggplot2 extensions to allow easy plotting of MIC values. They allow for manual range definition and plotting missing intermediate log2 levels.
+
Function limit_mic_range(), which allows to limit MIC values to a manually set range. This is the powerhouse behind the scale_*_mic() functions, but it can be used by users directly to e.g. compare equality in MIC distributions by rescaling them to the same range first.
+
One Health implementation
+
Function as.sir() now supports animal breakpoints from CLSI. Use breakpoint_type = "animal" and set the host 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.
+
The antibiotics data set contains all veterinary antibiotics, such as pradofloxacin and enrofloxacin. All WHOCC codes for veterinary use have been added as well.
-limit_mic_range(), which allows to limit MIC values to a manually set range. This is the powerhouse behind the scale_*_mic() functions, but it can be used by users directly to e.g. compare equality in MIC distributions by rescaling them to the same range first.
-
-
Changed
+ab_atc() now supports ATC codes of veterinary antibiotics (that all start with “Q”)
+
+ab_url() now supports retrieving the WHOCC url of their ATCvet pages
+
+
+
+
Changed
For MICs:
Added as valid levels: 4096, 6 powers of 0.0625, and 5 powers of 192 (192, 384, 576, 768, 960)
Added new argument keep_operators to as.mic(). This can be "all" (default), "none", or "edges". This argument is also available in the new limit_mic_range() and scale_*_mic() functions.
@@ -185,7 +194,10 @@
Updated all ATC codes from WHOCC
Updated all antibiotic DDDs from WHOCC
-
+
+
Other
+
Added Jordan Stull, Matthew Saab, and Javier Sanchez as contributors, to thank them for their valuable input
+
AMR 2.1.1
CRAN release: 2023-10-21
diff --git a/pkgdown.yml b/pkgdown.yml
index 218d5aba..a3b2643f 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -11,7 +11,7 @@ articles:
other_pkg: other_pkg.html
resistance_predict: resistance_predict.html
welcome_to_AMR: welcome_to_AMR.html
-last_built: 2024-02-24T18:29Z
+last_built: 2024-02-25T13:43Z
urls:
reference: https://msberends.github.io/AMR/reference
article: https://msberends.github.io/AMR/articles
diff --git a/reference/AMR-options.html b/reference/AMR-options.html
index 32cc294c..e691df1b 100644
--- a/reference/AMR-options.html
+++ b/reference/AMR-options.html
@@ -1,5 +1,5 @@
-Options for the AMR package — AMR-options • AMR (for R)Options for the AMR package — AMR-options • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/AMR.html b/reference/AMR.html
index 068f317d..bd8ecb65 100644
--- a/reference/AMR.html
+++ b/reference/AMR.html
@@ -6,7 +6,7 @@ This work was published in the Journal of Statistical Software (Volume 104(3); d
and doi:10.33612/diss.192486375
).
After installing this package, R knows ~52 000 microorganisms (updated January 2024) and all ~600 antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, ASIARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid SIR and MIC values. The integral clinical breakpoint guidelines from CLSI and EUCAST are included, even with epidemiological cut-off (ECOFF) values. It supports and can read any data format, including WHONET data. This package works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). It was designed to work in any setting, including those with very limited resources. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the public University of Groningen, in collaboration with non-profit organisations Certe Medical Diagnostics and Advice Foundation and University Medical Center Groningen.
-The AMR package is available in English, Chinese, Czech, Danish, Dutch, Finnish, French, German, Greek, Italian, Japanese, Norwegian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish, Turkish, and Ukrainian. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.">The AMR Package — AMR • AMR (for R)The AMR Package — AMR • AMR (for R)AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/WHOCC.html b/reference/WHOCC.html
index 751b51bd..03a4c4bd 100644
--- a/reference/WHOCC.html
+++ b/reference/WHOCC.html
@@ -1,5 +1,5 @@
-WHOCC: WHO Collaborating Centre for Drug Statistics Methodology — WHOCC • AMR (for R)WHOCC: WHO Collaborating Centre for Drug Statistics Methodology — WHOCC • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/WHONET.html b/reference/WHONET.html
index 16901e5b..164aa5ca 100644
--- a/reference/WHONET.html
+++ b/reference/WHONET.html
@@ -1,5 +1,5 @@
-Data Set with 500 Isolates - WHONET Example — WHONET • AMR (for R)Data Set with 500 Isolates - WHONET Example — WHONET • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/ab_from_text.html b/reference/ab_from_text.html
index 3a1d2c19..1327893d 100644
--- a/reference/ab_from_text.html
+++ b/reference/ab_from_text.html
@@ -1,5 +1,5 @@
-Retrieve Antimicrobial Drug Names and Doses from Clinical Text — ab_from_text • AMR (for R)Retrieve Antimicrobial Drug Names and Doses from Clinical Text — ab_from_text • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/ab_property.html b/reference/ab_property.html
index cf1a618c..ba030e05 100644
--- a/reference/ab_property.html
+++ b/reference/ab_property.html
@@ -1,5 +1,5 @@
-Get Properties of an Antibiotic — ab_property • AMR (for R)Get Properties of an Antibiotic — ab_property • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/add_custom_antimicrobials.html b/reference/add_custom_antimicrobials.html
index b690114d..f1b9d0e2 100644
--- a/reference/add_custom_antimicrobials.html
+++ b/reference/add_custom_antimicrobials.html
@@ -1,5 +1,5 @@
-Add Custom Antimicrobials — add_custom_antimicrobials • AMR (for R)Add Custom Antimicrobials — add_custom_antimicrobials • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/add_custom_microorganisms.html b/reference/add_custom_microorganisms.html
index 7deea8ee..9db01617 100644
--- a/reference/add_custom_microorganisms.html
+++ b/reference/add_custom_microorganisms.html
@@ -1,5 +1,5 @@
-Add Custom Microorganisms — add_custom_microorganisms • AMR (for R)Add Custom Microorganisms — add_custom_microorganisms • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
diff --git a/reference/age.html b/reference/age.html
index 17f53fb5..4edcbac4 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -1,5 +1,5 @@
-Age in Years of Individuals — age • AMR (for R)Age in Years of Individuals — age • AMR (for R)
@@ -10,7 +10,7 @@
AMR (for R)
- 2.1.1.9009
+ 2.1.1.9010
@@ -222,16 +222,16 @@
df#> birth_date age age_exact age_at_y2k
-#> 1 1965-12-05 58 58.22131 34
-#> 2 1980-03-01 43 43.98361 19
-#> 3 1949-11-01 74 74.31421 50
-#> 4 1947-02-14 77 77.02732 52
-#> 5 1940-02-19 84 84.01366 59
-#> 6 1988-01-10 36 36.12295 11
-#> 7 1997-08-27 26 26.49454 2
-#> 8 1978-01-26 46 46.07923 21
-#> 9 1972-06-17 51 51.68852 27
-#> 10 1986-08-10 37 37.54098 13
+#> 1 1965-12-05 58 58.22404 34
+#> 2 1980-03-01 43 43.98634 19
+#> 3 1949-11-01 74 74.31694 50
+#> 4 1947-02-14 77 77.03005 52
+#> 5 1940-02-19 84 84.01639 59
+#> 6 1988-01-10 36 36.12568 11
+#> 7 1997-08-27 26 26.49727 2
+#> 8 1978-01-26 46 46.08197 21
+#> 9 1972-06-17 51 51.69126 27
+#> 10 1986-08-10 37 37.54372 13