If you want to get a quick glance of the number of isolates in different bug/drug combinations, you can use the bug_drug_combinations() function:
@@ -854,34 +854,34 @@ Longest: 24
E. coli
AMX
-
2191
-
130
-
2357
-
4678
+
2244
+
103
+
2308
+
4655
E. coli
AMC
-
3377
-
187
-
1114
-
4678
+
3412
+
156
+
1087
+
4655
E. coli
CIP
-
3413
+
3414
0
-
1265
-
4678
+
1241
+
4655
E. coli
GEN
-
4126
+
4073
0
-
552
-
4678
+
582
+
4655
K. pneumoniae
@@ -894,9 +894,9 @@ Longest: 24
K. pneumoniae
AMC
-
940
-
40
-
203
+
960
+
38
+
185
1183
@@ -920,34 +920,34 @@ Longest: 24
E. coli
GEN
-
4126
+
4073
0
-
552
-
4678
+
582
+
4655
K. pneumoniae
GEN
-
1071
+
1070
0
-
112
+
113
1183
S. aureus
GEN
-
2406
+
2442
0
-
309
-
2715
+
329
+
2771
S. pneumoniae
GEN
0
0
-
2108
-
2108
+
2156
+
2156
@@ -961,7 +961,7 @@ Longest: 24
As per the EUCAST guideline of 2019, we calculate resistance as the proportion of R (proportion_R(), equal to resistance()) and susceptibility as the proportion of S and I (proportion_SI(), equal to susceptibility()). These functions can be used on their own:
# base R:plot(disk_values, mo ="E. coli", ab ="cipro")
diff --git a/articles/AMR_files/figure-html/disk_plots-1.png b/articles/AMR_files/figure-html/disk_plots-1.png
index c5289efe..624b2835 100644
Binary files a/articles/AMR_files/figure-html/disk_plots-1.png and b/articles/AMR_files/figure-html/disk_plots-1.png differ
diff --git a/articles/AMR_files/figure-html/disk_plots_mo_ab-1.png b/articles/AMR_files/figure-html/disk_plots_mo_ab-1.png
index 7d9e0fa2..62aee7b5 100644
Binary files a/articles/AMR_files/figure-html/disk_plots_mo_ab-1.png and b/articles/AMR_files/figure-html/disk_plots_mo_ab-1.png differ
diff --git a/articles/AMR_files/figure-html/mic_plots-1.png b/articles/AMR_files/figure-html/mic_plots-1.png
index d04aa6ee..3e938133 100644
Binary files a/articles/AMR_files/figure-html/mic_plots-1.png and b/articles/AMR_files/figure-html/mic_plots-1.png differ
diff --git a/articles/AMR_files/figure-html/mic_plots-2.png b/articles/AMR_files/figure-html/mic_plots-2.png
index 3a1a6c5c..f5a88a55 100644
Binary files a/articles/AMR_files/figure-html/mic_plots-2.png and b/articles/AMR_files/figure-html/mic_plots-2.png differ
diff --git a/articles/AMR_files/figure-html/mic_plots_mo_ab-1.png b/articles/AMR_files/figure-html/mic_plots_mo_ab-1.png
index 7bfe5c3e..0aa9cb1d 100644
Binary files a/articles/AMR_files/figure-html/mic_plots_mo_ab-1.png and b/articles/AMR_files/figure-html/mic_plots_mo_ab-1.png differ
diff --git a/articles/AMR_files/figure-html/mic_plots_mo_ab-2.png b/articles/AMR_files/figure-html/mic_plots_mo_ab-2.png
index ba7a3f23..6e5cb9e5 100644
Binary files a/articles/AMR_files/figure-html/mic_plots_mo_ab-2.png and b/articles/AMR_files/figure-html/mic_plots_mo_ab-2.png differ
diff --git a/articles/AMR_files/figure-html/plot 1-1.png b/articles/AMR_files/figure-html/plot 1-1.png
index 4674bbd2..eaf625d5 100644
Binary files a/articles/AMR_files/figure-html/plot 1-1.png and b/articles/AMR_files/figure-html/plot 1-1.png differ
diff --git a/articles/AMR_files/figure-html/plot 3-1.png b/articles/AMR_files/figure-html/plot 3-1.png
index f7428b7b..df1cc4dd 100644
Binary files a/articles/AMR_files/figure-html/plot 3-1.png and b/articles/AMR_files/figure-html/plot 3-1.png differ
diff --git a/articles/AMR_files/figure-html/plot 4-1.png b/articles/AMR_files/figure-html/plot 4-1.png
index 5bddae87..2f05fdd3 100644
Binary files a/articles/AMR_files/figure-html/plot 4-1.png and b/articles/AMR_files/figure-html/plot 4-1.png differ
diff --git a/articles/AMR_files/figure-html/plot 5-1.png b/articles/AMR_files/figure-html/plot 5-1.png
index bab17b96..a3100995 100644
Binary files a/articles/AMR_files/figure-html/plot 5-1.png and b/articles/AMR_files/figure-html/plot 5-1.png differ
diff --git a/articles/EUCAST.html b/articles/EUCAST.html
index 81343036..7a6a9961 100644
--- a/articles/EUCAST.html
+++ b/articles/EUCAST.html
@@ -38,7 +38,7 @@
AMR (for R)
- 1.8.2.9014
+ 1.8.2.9016
diff --git a/articles/MDR.html b/articles/MDR.html
index 4d5daa31..c07a55ff 100644
--- a/articles/MDR.html
+++ b/articles/MDR.html
@@ -38,7 +38,7 @@
AMR (for R)
- 1.8.2.9014
+ 1.8.2.9016
@@ -314,18 +314,18 @@ Unique: 2
head(my_TB_data)# rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-# 1 S I I R S R
-# 2 R S S R S I
-# 3 I I R R S R
-# 4 S I R I I I
-# 5 R R I I R I
-# 6 R R R I S S
+# 1 S I I R R S
+# 2 R I R I S R
+# 3 R S R S I S
+# 4 S I I S R I
+# 5 S S I I I R
+# 6 R I R R I I# kanamycin
-# 1 S
+# 1 R# 2 S# 3 I
-# 4 R
-# 5 I
+# 4 S
+# 5 R# 6 I
We can now add the interpretation of MDR-TB to our data set. You can use:
A data set with 48,787 rows and 22 columns, containing the following column names: mo, fullname, status, kingdom, phylum, class, order, family, genus, species, subspecies, rank, ref, source, lpsn, lpsn_parent, lpsn_renamed_to, gbif, gbif_parent, gbif_renamed_to, prevalence and snomed.
This data set is in R available as microorganisms, after you load the AMR package.
-
It was last updated on 11 October 2022 08:55:02 UTC. Find more info about the structure of this data set here.
+
It was last updated on 14 October 2022 11:03:47 UTC. Find more info about the structure of this data set here.
A data set with 464 rows and 14 columns, containing the following column names: ab, cid, name, group, atc, atc_group1, atc_group2, abbreviations, synonyms, oral_ddd, oral_units, iv_ddd, iv_units and loinc.
This data set is in R available as antibiotics, after you load the AMR package.
-
It was last updated on 11 October 2022 08:55:02 UTC. Find more info about the structure of this data set here.
+
It was last updated on 14 October 2022 11:03:47 UTC. Find more info about the structure of this data set here.
A data set with 102 rows and 9 columns, containing the following column names: atc, cid, name, atc_group, synonyms, oral_ddd, oral_units, iv_ddd and iv_units.
This data set is in R available as antivirals, after you load the AMR package.
-
It was last updated on 11 October 2022 08:55:02 UTC. Find more info about the structure of this data set here.
+
It was last updated on 14 October 2022 11:03:47 UTC. Find more info about the structure of this data set here.
A data set with 20,369 rows and 11 columns, containing the following column names: guideline, method, site, mo, rank_index, ab, ref_tbl, disk_dose, breakpoint_S, breakpoint_R and uti.
This data set is in R available as rsi_translation, after you load the AMR package.
-
It was last updated on 11 October 2022 08:55:02 UTC. Find more info about the structure of this data set here.
+
It was last updated on 14 October 2022 11:03:47 UTC. Find more info about the structure of this data set here.
A data set with 169 rows and 9 columns, containing the following column names: ab, name, type, dose, dose_times, administration, notes, original_txt and eucast_version.
This data set is in R available as dosage, after you load the AMR package.
-
It was last updated on 11 October 2022 08:55:02 UTC. Find more info about the structure of this data set here.
+
It was last updated on 14 October 2022 11:03:47 UTC. Find more info about the structure of this data set here.
This version will eventually become v2.0! We’re happy to reach a new major milestone soon!
-
Breaking
+
Breaking
Removed all species of the taxonomic kingdom Chromista from the package. This was done for multiple reasons:
CRAN allows packages to be around 5 MB maximum, some packages are exempted but this package is not one of them
Chromista are not relevant when it comes to antimicrobial resistance, thus lacking the primary scope of this package
Chromista are almost never clinically relevant, thus lacking the secondary scope of this package
@@ -140,7 +140,7 @@
The mo_matching_score() now count deletions and substitutions as 2 instead of 1, which impacts the outcome of as.mo() and any mo_*() function
-
New
+
New
EUCAST 2022 and CLSI 2022 guidelines have been added for as.rsi(). EUCAST 2022 is now the new default guideline for all MIC and disks diffusion interpretations.
All new algorithm for as.mo() (and thus internally all mo_*() functions) while still following our original set-up as described in our paper (DOI 10.18637/jss.v104.i03).
A new argument keep_synonyms allows to not correct for updated taxonomy, in favour of the now deleted argument allow_uncertain
@@ -157,7 +157,7 @@
Our data sets are now also continually exported to Apache Feather and Apache Parquet formats. You can find more info in this article on our website.
-
Changed
+
Changed
Fix for using as.rsi() on certain EUCAST breakpoints for MIC values
Fix for using as.rsi() on NA values (e.g. as.rsi(as.disk(NA), ...))
Removed as.integer() for MIC values, since MIC are not integer values and running table() on MIC values consequently failed for not being able to retrieve the level position (as that’s how normally as.integer() on factors work)
New website to make use of the new Bootstrap 5 and pkgdown 2.0. The website now contains results for all examples and will be automatically regenerated with every change to our repository, using GitHub Actions
Added Peter Dutey-Magni, Dmytro Mykhailenko and Anton Mymrikov as contributors, to thank them for their valuable input
All R and Rmd files in this project are now styled using the styler package