@@ -261,21 +261,21 @@ make the structure of your data generally look like this:
-
2024-02-25
+
2024-03-03
abcd
Escherichia coli
S
S
-
2024-02-25
+
2024-03-03
abcd
Escherichia coli
S
R
-
2024-02-25
+
2024-03-03
efgh
Escherichia coli
R
diff --git a/articles/AMR_files/figure-html/unnamed-chunk-10-1.png b/articles/AMR_files/figure-html/unnamed-chunk-10-1.png
index 7080526e..a99e8b43 100644
Binary files a/articles/AMR_files/figure-html/unnamed-chunk-10-1.png and b/articles/AMR_files/figure-html/unnamed-chunk-10-1.png differ
diff --git a/articles/EUCAST.html b/articles/EUCAST.html
index 57b781fe..0892caf0 100644
--- a/articles/EUCAST.html
+++ b/articles/EUCAST.html
@@ -39,7 +39,7 @@
AMR (for R)
- 2.1.1.9012
+ 2.1.1.9013
diff --git a/articles/MDR.html b/articles/MDR.html
index 750fa506..8e32e026 100644
--- a/articles/MDR.html
+++ b/articles/MDR.html
@@ -39,7 +39,7 @@
AMR (for R)
- 2.1.1.9012
+ 2.1.1.9013
@@ -402,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 S R I I S I
-#> 2 I I S S S S
-#> 3 S I S R I R
-#> 4 S R I S I R
-#> 5 S R R I R S
-#> 6 S R R S S S
+#> 1 I S S S S R
+#> 2 I S R R S S
+#> 3 R I R R S I
+#> 4 R R S S R I
+#> 5 R R I S R I
+#> 6 R R R S R S#> kanamycin
-#> 1 R
-#> 2 I
-#> 3 I
+#> 1 S
+#> 2 S
+#> 3 R#> 4 I
-#> 5 S
-#> 6 R
+#> 5 I
+#> 6 I
We can now add the interpretation of MDR-TB to our data set. You can
use:
@@ -455,40 +455,40 @@ Unique: 5
1
Mono-resistant
-
3255
-
65.10%
-
3255
-
65.10%
+
3232
+
64.64%
+
3232
+
64.64%
2
Negative
-
961
-
19.22%
-
4216
-
84.32%
+
991
+
19.82%
+
4223
+
84.46%
3
Multi-drug-resistant
-
454
-
9.08%
-
4670
-
93.40%
+
441
+
8.82%
+
4664
+
93.28%
4
Poly-resistant
-
245
-
4.90%
-
4915
-
98.30%
+
246
+
4.92%
+
4910
+
98.20%
5
Extensively drug-resistant
-
85
-
1.70%
+
90
+
1.80%
5000
100.00%
diff --git a/articles/PCA.html b/articles/PCA.html
index f46ad1c2..80763886 100644
--- a/articles/PCA.html
+++ b/articles/PCA.html
@@ -39,7 +39,7 @@
AMR (for R)
- 2.1.1.9012
+ 2.1.1.9013
diff --git a/articles/PCA_files/figure-html/unnamed-chunk-6-1.png b/articles/PCA_files/figure-html/unnamed-chunk-6-1.png
index a5668a59..d3186e87 100644
Binary files a/articles/PCA_files/figure-html/unnamed-chunk-6-1.png and b/articles/PCA_files/figure-html/unnamed-chunk-6-1.png differ
diff --git a/articles/PCA_files/figure-html/unnamed-chunk-7-1.png b/articles/PCA_files/figure-html/unnamed-chunk-7-1.png
index 6e5b7b3f..70ea4c5d 100644
Binary files a/articles/PCA_files/figure-html/unnamed-chunk-7-1.png and b/articles/PCA_files/figure-html/unnamed-chunk-7-1.png differ
diff --git a/articles/WHONET.html b/articles/WHONET.html
index df24cdee..c06c4bb1 100644
--- a/articles/WHONET.html
+++ b/articles/WHONET.html
@@ -39,7 +39,7 @@
AMR (for R)
- 2.1.1.9012
+ 2.1.1.9013
diff --git a/articles/datasets.html b/articles/datasets.html
index 743ec237..5b665dd2 100644
--- a/articles/datasets.html
+++ b/articles/datasets.html
@@ -39,7 +39,7 @@
AMR (for R)
- 2.1.1.9012
+ 2.1.1.9013
@@ -194,7 +194,7 @@
(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)
+
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
+
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
@@ -184,7 +184,7 @@
-
Changed
+
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.
@@ -195,7 +195,7 @@
Updated all antibiotic DDDs from WHOCC
-
Other
+
Other
Added Jordan Stull, Matthew Saab, and Javier Sanchez as contributors, to thank them for their valuable input
@@ -337,7 +337,7 @@
Antibiotic agents and selectors
The new function add_custom_antimicrobials() allows users to add custom antimicrobial codes and names to the AMR package.
The antibiotics data set was greatly updated:
-
The following 20 antibiotics have been added (also includes the new J01RA ATC group): azithromycin/fluconazole/secnidazole (AFC), cefepime/amikacin (CFA), cefixime/ornidazole (CEO), ceftriaxone/beta-lactamase inhibitor (CEB), ciprofloxacin/metronidazole (CIM), ciprofloxacin/ornidazole (CIO), ciprofloxacin/tinidazole (CIT), furazidin (FUR), isoniazid/sulfamethoxazole/trimethoprim/pyridoxine (IST), lascufloxacin (LSC), levofloxacin/ornidazole (LEO), nemonoxacin (NEM), norfloxacin/metronidazole (NME), norfloxacin/tinidazole (NTI), ofloxacin/ornidazole (OOR), oteseconazole (OTE), rifampicin/ethambutol/isoniazid (REI), sarecycline (SRC), tetracycline/oleandomycin (TOL), and thioacetazone (TAT)
+
The following 20 antibiotics have been added (also includes the new J01RA ATC group): azithromycin/fluconazole/secnidazole (AFC), cefepime/amikacin (CFA), cefixime/ornidazole (CEO), ceftriaxone/beta-lactamase inhibitor (CEB), ciprofloxacin/metronidazole (CIM), ciprofloxacin/ornidazole (CIO), ciprofloxacin/tinidazole (CIT), furazidin (FUR), isoniazid/sulfamethoxazole/trimethoprim/pyridoxine (IST), lascufloxacin (LSC), levofloxacin/ornidazole (LEO), nemonoxacin (NEM), norfloxacin/metronidazole (NME), norfloxacin/tinidazole (NTI), ofloxacin/ornidazole (OOR), oteseconazole (OTE), rifampicin/ethambutol/isoniazid (REI), sarecycline (SRC), tetracycline/oleandomycin (TOL), and thioacetazone (TAT)
Added some missing ATC codes
Updated DDDs and PubChem Compound IDs
Updated some antibiotic name spelling, now used by WHOCC (such as cephalexin -> cefalexin, and phenethicillin -> pheneticillin)
@@ -348,7 +348,7 @@
Antiviral agents
We now added extensive support for antiviral agents! For the first time, the AMR package has extensive support for antiviral drugs and to work with their names, codes and other data in any way.
-
The antivirals data set has been extended with 18 new drugs (also from the new J05AJ ATC group) and now also contains antiviral identifiers and LOINC codes
+
The antivirals data set has been extended with 18 new drugs (also from the new J05AJ ATC group) and now also contains antiviral identifiers and LOINC codes
A new data type av (antivirals) has been added, which is functionally similar to ab for antibiotics