@@ -146,21 +146,21 @@ make the structure of your data generally look like this:
-
2025-02-11
+
2025-02-13
abcd
Escherichia coli
S
S
-
2025-02-11
+
2025-02-13
abcd
Escherichia coli
S
R
-
2025-02-11
+
2025-02-13
efgh
Escherichia coli
R
diff --git a/articles/AMR_for_Python.html b/articles/AMR_for_Python.html
index 31b91ad84..5e6af0db5 100644
--- a/articles/AMR_for_Python.html
+++ b/articles/AMR_for_Python.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/articles/AMR_with_tidymodels.html b/articles/AMR_with_tidymodels.html
index b7fc76811..f10c2ac3c 100644
--- a/articles/AMR_with_tidymodels.html
+++ b/articles/AMR_with_tidymodels.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
@@ -129,7 +129,7 @@ package.
# Load required librarieslibrary(tidymodels)# For machine learning workflows, and data manipulation (dplyr, tidyr, ...)#> ── Attaching packages ────────────────────────────────────── tidymodels 1.2.0 ──
-#> ✔broom 1.0.7 ✔recipes 1.1.0
+#> ✔broom 1.0.7 ✔recipes 1.1.1#> ✔dials 1.3.0 ✔rsample 1.2.1#> ✔dplyr 1.1.4 ✔tibble 3.2.1#> ✔ggplot2 3.5.1 ✔tidyr 1.3.1
@@ -142,7 +142,7 @@ package.
#> ✖dplyr::filter() masks stats::filter()#> ✖dplyr::lag() masks stats::lag()#> ✖recipes::step() masks stats::step()
-#> • Dig deeper into tidy modeling with R at https://www.tmwr.org
+#> • Learn how to get started at https://www.tidymodels.org/start/library(AMR)# For AMR data analysis# Load the example_isolates dataset
diff --git a/articles/EUCAST.html b/articles/EUCAST.html
index 711d31889..8d021f4ef 100644
--- a/articles/EUCAST.html
+++ b/articles/EUCAST.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/articles/MDR.html b/articles/MDR.html
index f5c89764c..4994da7e5 100644
--- a/articles/MDR.html
+++ b/articles/MDR.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/articles/PCA.html b/articles/PCA.html
index 065a2fbc5..18a9d30f6 100644
--- a/articles/PCA.html
+++ b/articles/PCA.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/articles/WHONET.html b/articles/WHONET.html
index 1fe5f806f..314c1204d 100644
--- a/articles/WHONET.html
+++ b/articles/WHONET.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
@@ -310,6 +310,9 @@ using the included ggplot_sir()group_by(Country)%>%select(Country, AMP_ND2, AMC_ED20, CAZ_ED10, CIP_ED5)%>%ggplot_sir(translate_ab ="ab", facet ="Country", datalabels =FALSE)
+
#> Warning: Using scale_sir_colours() for the fill aesthetic has been superseded by
+#> scale_fill_sir(), please use that instead. This warning will be shown
+#> once per session.
diff --git a/reference/antibiogram.html b/reference/antibiogram.html
index 1c39670a2..81b5475a2 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.9144
+ 2.1.1.9146
diff --git a/reference/antibiotics.html b/reference/antibiotics.html
index 98bd7554c..45d7f0b3d 100644
--- a/reference/antibiotics.html
+++ b/reference/antibiotics.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/antimicrobial_class_selectors.html b/reference/antimicrobial_class_selectors.html
index 889524269..f3cf27d43 100644
--- a/reference/antimicrobial_class_selectors.html
+++ b/reference/antimicrobial_class_selectors.html
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %>%
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.ab.html b/reference/as.ab.html
index 827cb9c36..86ee0f57e 100644
--- a/reference/as.ab.html
+++ b/reference/as.ab.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.av.html b/reference/as.av.html
index af0c6edc6..8a710f8b6 100644
--- a/reference/as.av.html
+++ b/reference/as.av.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.disk.html b/reference/as.disk.html
index 7e47d275c..72c866e1f 100644
--- a/reference/as.disk.html
+++ b/reference/as.disk.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.mic.html b/reference/as.mic.html
index 9f37b7cf4..84fe4bebf 100644
--- a/reference/as.mic.html
+++ b/reference/as.mic.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.mo.html b/reference/as.mo.html
index 51b9f48ed..7dacea1a5 100644
--- a/reference/as.mo.html
+++ b/reference/as.mo.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/as.sir.html b/reference/as.sir.html
index 918387f21..3a1b1b490 100644
--- a/reference/as.sir.html
+++ b/reference/as.sir.html
@@ -21,7 +21,7 @@ All breakpoints used for interpretation are available in our clinical_breakpoint
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
@@ -782,16 +782,16 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#># A tibble: 57 × 16#> datetime index ab_given mo_given host_given ab mo #>*<dttm><int><chr><chr><chr><ab><mo>
-#> 1 2025-02-11 16:28:00 4 AMX B_STRPT… human AMX B_STRPT_PNMN
-#> 2 2025-02-11 16:28:07 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR
-#> 3 2025-02-11 16:28:07 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR
-#> 4 2025-02-11 16:28:08 4 genta Escheri… cattle GEN B_ESCHR_COLI
-#> 5 2025-02-11 16:28:08 4 genta Escheri… cattle GEN B_ESCHR_COLI
-#> 6 2025-02-11 16:28:00 3 AMX B_STRPT… human AMX B_STRPT_PNMN
-#> 7 2025-02-11 16:28:07 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR
-#> 8 2025-02-11 16:28:07 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR
-#> 9 2025-02-11 16:28:08 3 tobra Escheri… horses TOB B_ESCHR_COLI
-#>10 2025-02-11 16:28:08 3 tobra Escheri… horses TOB B_ESCHR_COLI
+#> 1 2025-02-13 18:54:33 4 AMX B_STRPT… human AMX B_STRPT_PNMN
+#> 2 2025-02-13 18:54:40 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR
+#> 3 2025-02-13 18:54:40 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR
+#> 4 2025-02-13 18:54:41 4 genta Escheri… cattle GEN B_ESCHR_COLI
+#> 5 2025-02-13 18:54:41 4 genta Escheri… cattle GEN B_ESCHR_COLI
+#> 6 2025-02-13 18:54:33 3 AMX B_STRPT… human AMX B_STRPT_PNMN
+#> 7 2025-02-13 18:54:40 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR
+#> 8 2025-02-13 18:54:40 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR
+#> 9 2025-02-13 18:54:41 3 tobra Escheri… horses TOB B_ESCHR_COLI
+#>10 2025-02-13 18:54:41 3 tobra Escheri… horses TOB B_ESCHR_COLI #># ℹ 47 more rows#># ℹ 9 more variables: host <chr>, method <chr>, input <dbl>, outcome <sir>,#># notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,
diff --git a/reference/atc_online.html b/reference/atc_online.html
index 3453447a6..954a143f1 100644
--- a/reference/atc_online.html
+++ b/reference/atc_online.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/av_from_text.html b/reference/av_from_text.html
index 35df9946b..cb9ffcfed 100644
--- a/reference/av_from_text.html
+++ b/reference/av_from_text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/av_property.html b/reference/av_property.html
index 0f1d803a3..0e2a8185e 100644
--- a/reference/av_property.html
+++ b/reference/av_property.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/availability.html b/reference/availability.html
index c17707db4..e3d5a6ba5 100644
--- a/reference/availability.html
+++ b/reference/availability.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/bug_drug_combinations.html b/reference/bug_drug_combinations.html
index 9d5a722c2..2b3194ba4 100644
--- a/reference/bug_drug_combinations.html
+++ b/reference/bug_drug_combinations.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/clinical_breakpoints.html b/reference/clinical_breakpoints.html
index fda529ab2..839a9b92c 100644
--- a/reference/clinical_breakpoints.html
+++ b/reference/clinical_breakpoints.html
@@ -21,7 +21,7 @@ Use as.sir() to transform MICs or disks measurements to SIR values.">AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/count.html b/reference/count.html
index d515db3f6..3b0b2c2d8 100644
--- a/reference/count.html
+++ b/reference/count.html
@@ -9,7 +9,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/custom_eucast_rules.html b/reference/custom_eucast_rules.html
index 6874b0861..e681e6d90 100644
--- a/reference/custom_eucast_rules.html
+++ b/reference/custom_eucast_rules.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/dosage.html b/reference/dosage.html
index c0aea5f79..a2c7f8731 100644
--- a/reference/dosage.html
+++ b/reference/dosage.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/eucast_rules.html b/reference/eucast_rules.html
index 7a4a31736..2ad84dbef 100644
--- a/reference/eucast_rules.html
+++ b/reference/eucast_rules.html
@@ -9,7 +9,7 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/example_isolates.html b/reference/example_isolates.html
index 1439a9327..25a388ff8 100644
--- a/reference/example_isolates.html
+++ b/reference/example_isolates.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/example_isolates_unclean.html b/reference/example_isolates_unclean.html
index 889db162e..160da192f 100644
--- a/reference/example_isolates_unclean.html
+++ b/reference/example_isolates_unclean.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/export_ncbi_biosample.html b/reference/export_ncbi_biosample.html
index 6a2885a3c..759d91f9f 100644
--- a/reference/export_ncbi_biosample.html
+++ b/reference/export_ncbi_biosample.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/first_isolate.html b/reference/first_isolate.html
index f76f9ff33..cb83d6865 100644
--- a/reference/first_isolate.html
+++ b/reference/first_isolate.html
@@ -9,7 +9,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/g.test.html b/reference/g.test.html
index 8e12a793d..b4aef49ba 100644
--- a/reference/g.test.html
+++ b/reference/g.test.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/get_episode.html b/reference/get_episode.html
index 87a5ba2f8..493a6a71b 100644
--- a/reference/get_episode.html
+++ b/reference/get_episode.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/ggplot_pca.html b/reference/ggplot_pca.html
index 4649f386b..5d44fa648 100644
--- a/reference/ggplot_pca.html
+++ b/reference/ggplot_pca.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/ggplot_sir.html b/reference/ggplot_sir.html
index 2cb24ee4e..dd5a42763 100644
--- a/reference/ggplot_sir.html
+++ b/reference/ggplot_sir.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
@@ -187,7 +187,7 @@
ggplot(df)+geom_sir()+scale_y_percent()+
-scale_sir_colours()+
+scale_sir_colours(aesthetics ="fill")+labels_sir_count()+theme_sir()}
@@ -236,7 +236,8 @@
)%>%ggplot()+geom_col(aes(x =x, y =y, fill =z))+
-scale_sir_colours(Value4 ="S", Value5 ="I", Value6 ="R")
+scale_sir_colours(aesthetics ="fill",
+ Value4 ="S", Value5 ="I", Value6 ="R")}if(require("ggplot2")&&require("dplyr")){
diff --git a/reference/guess_ab_col.html b/reference/guess_ab_col.html
index 1311fe689..e2a383a0a 100644
--- a/reference/guess_ab_col.html
+++ b/reference/guess_ab_col.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
diff --git a/reference/index.html b/reference/index.html
index 3e6f40d71..516ad9a92 100644
--- a/reference/index.html
+++ b/reference/index.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9144
+ 2.1.1.9146
@@ -282,7 +282,7 @@