From 763def34da29af7f12573a045a0a7c81fbd32f71 Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 7 Apr 2025 16:49:19 +0000
Subject: [PATCH] Built site for AMR@2.1.1.9234: a905303
---
404.html | 2 +-
LICENSE-text.html | 2 +-
articles/AMR.html | 56 +++++++-------
articles/AMR_for_Python.html | 2 +-
articles/AMR_with_tidymodels.html | 2 +-
articles/EUCAST.html | 2 +-
articles/MDR.html | 2 +-
articles/PCA.html | 94 ++++++++++++------------
articles/WHONET.html | 2 +-
articles/datasets.html | 4 +-
articles/index.html | 2 +-
articles/welcome_to_AMR.html | 2 +-
authors.html | 2 +-
index.html | 2 +-
news/index.html | 16 ++--
pkgdown.yml | 2 +-
reference/AMR-deprecated.html | 2 +-
reference/AMR-options.html | 2 +-
reference/AMR.html | 2 +-
reference/WHOCC.html | 2 +-
reference/WHONET.html | 2 +-
reference/ab_from_text.html | 2 +-
reference/ab_property.html | 2 +-
reference/add_custom_antimicrobials.html | 2 +-
reference/add_custom_microorganisms.html | 2 +-
reference/age.html | 22 +++---
reference/age_groups.html | 2 +-
reference/antibiogram.html | 16 ++--
reference/antimicrobial_selectors.html | 2 +-
reference/antimicrobials.html | 2 +-
reference/as.ab.html | 2 +-
reference/as.av.html | 2 +-
reference/as.disk.html | 2 +-
reference/as.mic.html | 2 +-
reference/as.mo.html | 2 +-
reference/as.sir.html | 92 ++++++++++++++---------
reference/atc_online.html | 2 +-
reference/av_from_text.html | 2 +-
reference/av_property.html | 2 +-
reference/availability.html | 2 +-
reference/bug_drug_combinations.html | 2 +-
reference/clinical_breakpoints.html | 2 +-
reference/count.html | 22 +-----
reference/custom_eucast_rules.html | 2 +-
reference/dosage.html | 2 +-
reference/eucast_rules.html | 2 +-
reference/example_isolates.html | 2 +-
reference/example_isolates_unclean.html | 2 +-
reference/export_ncbi_biosample.html | 2 +-
reference/first_isolate.html | 2 +-
reference/g.test.html | 2 +-
reference/get_episode.html | 2 +-
reference/ggplot_pca.html | 2 +-
reference/ggplot_sir.html | 2 +-
reference/guess_ab_col.html | 2 +-
reference/index.html | 2 +-
reference/intrinsic_resistant.html | 2 +-
reference/italicise_taxonomy.html | 2 +-
reference/join.html | 2 +-
reference/key_antimicrobials.html | 2 +-
reference/kurtosis.html | 2 +-
reference/like.html | 2 +-
reference/mdro.html | 12 +--
reference/mean_amr_distance.html | 2 +-
reference/microorganisms.codes.html | 2 +-
reference/microorganisms.groups.html | 2 +-
reference/microorganisms.html | 2 +-
reference/mo_matching_score.html | 2 +-
reference/mo_property.html | 2 +-
reference/mo_source.html | 2 +-
reference/pca.html | 2 +-
reference/plot.html | 2 +-
reference/proportion.html | 18 +----
reference/random.html | 2 +-
reference/resistance_predict.html | 12 +--
reference/skewness.html | 2 +-
reference/top_n_microorganisms.html | 2 +-
reference/translate.html | 2 +-
search.json | 2 +-
79 files changed, 241 insertions(+), 259 deletions(-)
diff --git a/404.html b/404.html
index 9bf91e8c7..af8d75dc9 100644
--- a/404.html
+++ b/404.html
@@ -32,7 +32,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/LICENSE-text.html b/LICENSE-text.html
index ed2bc1b35..da2c98a69 100644
--- a/LICENSE-text.html
+++ b/LICENSE-text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/articles/AMR.html b/articles/AMR.html
index bd02402fc..7540419fa 100644
--- a/articles/AMR.html
+++ b/articles/AMR.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
@@ -92,7 +92,7 @@
website update since they are based on randomly created values and the
page was written in R
Markdown . However, the methodology remains unchanged. This page was
-generated on 31 March 2025.
+generated on 07 April 2025.
Now to transform this to a data set with only resistance percentages
per taxonomic order and genus:
diff --git a/articles/WHONET.html b/articles/WHONET.html
index 86a6e3340..7d027ff86 100644
--- a/articles/WHONET.html
+++ b/articles/WHONET.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/articles/datasets.html b/articles/datasets.html
index f9ed274fb..b4668e2d2 100644
--- a/articles/datasets.html
+++ b/articles/datasets.html
@@ -31,7 +31,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
@@ -81,7 +81,7 @@
-
AMR 2.1.1.9233
+
AMR 2.1.1.9234
(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
Dataset antibiotics
has been renamed to antimicrobials
as the data set contains more than just antibiotics. Using antibiotics
will still work, but now returns a warning.
Removed all functions and references that used the deprecated rsi
class, which were all replaced with their sir
equivalents over two years ago.
Function resistance_predict()
is now deprecated and will be removed in a future version. Use the tidymodels
framework instead, for which we wrote a basic introduction .
-
New
+
New
One Health implementation
Function as.sir()
now has extensive support for veterinary breakpoints from CLSI. Use breakpoint_type = "animal"
and set the host
argument to a variable that contains animal species names.
@@ -116,7 +116,7 @@
-
Changed
+
Changed
SIR interpretation
It is now possible to use column names for argument ab
, mo
, and uti
: 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.
@@ -195,7 +195,7 @@
Added console colours support of sir
class for Positron
-
Other
+
Other
Added Dr. Larisse Bolton and Aislinn Cook as contributors for their fantastic implementation of WISCA in a mathematically solid way
Added Matthew Saab, Dr. Jordan Stull, and Prof. Javier Sanchez as contributors for their tremendous input on veterinary breakpoints and interpretations
Added Prof. Kat Holt, Dr. Jane Hawkey, and Dr. Natacha Couto as contributors for their many suggestions, ideas and bugfixes
@@ -204,7 +204,7 @@
Stopped support for SAS (.xpt
) files, since their file structure and extremely inefficient and requires more disk space than GitHub allows in a single commit.
-
Older Versions
+
Older Versions
This changelog only contains changes from AMR v3.0 (March 2025) and later.
For prior v2 versions, please see our v2 archive .
For prior v1 versions, please see our v1 archive .
diff --git a/pkgdown.yml b/pkgdown.yml
index 5ccc91a26..d9c3772db 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -11,7 +11,7 @@ articles:
PCA: PCA.html
welcome_to_AMR: welcome_to_AMR.html
WHONET: WHONET.html
-last_built: 2025-03-31T13:00Z
+last_built: 2025-04-07T16:45Z
urls:
reference: https://msberends.github.io/AMR/reference
article: https://msberends.github.io/AMR/articles
diff --git a/reference/AMR-deprecated.html b/reference/AMR-deprecated.html
index afe68d8dd..efee52d72 100644
--- a/reference/AMR-deprecated.html
+++ b/reference/AMR-deprecated.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/AMR-options.html b/reference/AMR-options.html
index 3c97486ae..433601a09 100644
--- a/reference/AMR-options.html
+++ b/reference/AMR-options.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/AMR.html b/reference/AMR.html
index 041f7bcbc..f8ef23dfe 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.9233
+ 2.1.1.9234
diff --git a/reference/WHOCC.html b/reference/WHOCC.html
index 6ab025ae0..47053d77d 100644
--- a/reference/WHOCC.html
+++ b/reference/WHOCC.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/WHONET.html b/reference/WHONET.html
index bfded3d25..1f7c2cbe8 100644
--- a/reference/WHONET.html
+++ b/reference/WHONET.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/ab_from_text.html b/reference/ab_from_text.html
index 0e3af283c..1200f52ed 100644
--- a/reference/ab_from_text.html
+++ b/reference/ab_from_text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/ab_property.html b/reference/ab_property.html
index e6a2b0f43..c3ec96d79 100644
--- a/reference/ab_property.html
+++ b/reference/ab_property.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/add_custom_antimicrobials.html b/reference/add_custom_antimicrobials.html
index c068f2bb7..48b905816 100644
--- a/reference/add_custom_antimicrobials.html
+++ b/reference/add_custom_antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/add_custom_microorganisms.html b/reference/add_custom_microorganisms.html
index 7816c2d6e..84372e479 100644
--- a/reference/add_custom_microorganisms.html
+++ b/reference/add_custom_microorganisms.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/age.html b/reference/age.html
index 0f0be2a02..f60c39cbc 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
@@ -112,16 +112,16 @@
df
#> birth_date age age_exact age_at_y2k
-#> 1 1999-06-30 25 25.75068 0
-#> 2 1968-01-29 57 57.16712 31
-#> 3 1965-12-05 59 59.31781 34
-#> 4 1980-03-01 45 45.08219 19
-#> 5 1949-11-01 75 75.41096 50
-#> 6 1947-02-14 78 78.12329 52
-#> 7 1940-02-19 85 85.10959 59
-#> 8 1988-01-10 37 37.21918 11
-#> 9 1997-08-27 27 27.59178 2
-#> 10 1978-01-26 47 47.17534 21
+#> 1 1999-06-30 25 25.76986 0
+#> 2 1968-01-29 57 57.18630 31
+#> 3 1965-12-05 59 59.33699 34
+#> 4 1980-03-01 45 45.10137 19
+#> 5 1949-11-01 75 75.43014 50
+#> 6 1947-02-14 78 78.14247 52
+#> 7 1940-02-19 85 85.12877 59
+#> 8 1988-01-10 37 37.23836 11
+#> 9 1997-08-27 27 27.61096 2
+#> 10 1978-01-26 47 47.19452 21
On this page
diff --git a/reference/age_groups.html b/reference/age_groups.html
index f8b4c6532..154fbf24a 100644
--- a/reference/age_groups.html
+++ b/reference/age_groups.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/antibiogram.html b/reference/antibiogram.html
index d7425af9b..ea0f76424 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.9233
+ 2.1.1.9234
@@ -68,7 +68,7 @@ Adhering to previously described approaches (see Source) and especially the Baye
info = interactive ( ) , ... )
wisca ( x , antimicrobials = where ( is.sir ) , ab_transform = "name" ,
- syndromic_group = NULL , digits = 1 ,
+ syndromic_group = NULL , only_all_tested = FALSE , digits = 1 ,
formatting_type = getOption ( "AMR_antibiogram_formatting_type" , 14 ) ,
col_mo = NULL , language = get_AMR_locale ( ) , combine_SI = TRUE ,
sep = " + " , simulations = 1000 , conf_interval = 0.95 ,
@@ -590,9 +590,9 @@ $$p_i = \frac{x_i}{\sum_{j=1}^K x_j}$$
#> # An Antibiogram (WISCA / 95% CI): 3 × 4
#> `Syndromic Group` `Piperacillin/tazobactam` Piperacillin/tazobactam + Gentam…¹
#> <chr> <chr> <chr>
-#> 1 Clinical 76.5% (60.8-88%) 95.3% (86.4-99.2%)
-#> 2 ICU 60.3% (42.1-80.7%) 90.6% (76.4-98.1%)
-#> 3 Outpatient 66.8% (38.4-91.3%) 89.7% (69.9-99.5%)
+#> 1 Clinical 73.8% (53.8-89.1%) 93% (80.7-99.1%)
+#> 2 ICU 57.6% (31.5-85.2%) 85.5% (64-98.1%)
+#> 3 Outpatient 58.2% (18.1-94.1%) 77.6% (41.8-99.1%)
#> # ℹ abbreviated name: ¹`Piperacillin/tazobactam + Gentamicin`
#> # ℹ 1 more variable: `Piperacillin/tazobactam + Tobramycin` <chr>
#> # Use `ggplot2::autoplot()` or base R `plot()` to create a plot of this antibiogram,
@@ -617,9 +617,9 @@ $$p_i = \frac{x_i}{\sum_{j=1}^K x_j}$$
#>
#> |Syndromic Group |Piperacillin/tazobactam |
#> |:---------------|:-----------------------|
-#> |Clinical |76% (60-88.6%) |
-#> |ICU |59.8% (40.7-79.7%) |
-#> |Outpatient |66.2% (37.9-91.3%) |
+#> |Clinical |73% (53.9-89.6%) |
+#> |ICU |56.9% (30.3-84.6%) |
+#> |Outpatient |57.3% (19-94.4%) |
# Generate plots with ggplot2 or base R --------------------------------
diff --git a/reference/antimicrobial_selectors.html b/reference/antimicrobial_selectors.html
index c17b471ce..94b83a2f6 100644
--- a/reference/antimicrobial_selectors.html
+++ b/reference/antimicrobial_selectors.html
@@ -17,7 +17,7 @@ my_data_with_all_these_columns %>%
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/antimicrobials.html b/reference/antimicrobials.html
index c07d65982..bf8f320af 100644
--- a/reference/antimicrobials.html
+++ b/reference/antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.ab.html b/reference/as.ab.html
index 16604477e..c0730e5f0 100644
--- a/reference/as.ab.html
+++ b/reference/as.ab.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.av.html b/reference/as.av.html
index 1d785ccc1..3a5aa70c3 100644
--- a/reference/as.av.html
+++ b/reference/as.av.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.disk.html b/reference/as.disk.html
index 22b4d4b17..fb441ea57 100644
--- a/reference/as.disk.html
+++ b/reference/as.disk.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.mic.html b/reference/as.mic.html
index 8d7044a7b..bd22956a7 100644
--- a/reference/as.mic.html
+++ b/reference/as.mic.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.mo.html b/reference/as.mo.html
index 502f60618..1cc2f5f56 100644
--- a/reference/as.mo.html
+++ b/reference/as.mo.html
@@ -7,7 +7,7 @@
AMR (for R)
- 2.1.1.9233
+ 2.1.1.9234
diff --git a/reference/as.sir.html b/reference/as.sir.html
index 8c91d071d..24e9f81e3 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.9233
+ 2.1.1.9234
@@ -239,7 +239,7 @@ All breakpoints used for interpretation are available in our clinical_breakpoint
The as.sir()
function can work in four ways:
For cleaning raw / untransformed data . The data will be cleaned to only contain valid values, namely: S for susceptible, I for intermediate or 'susceptible, increased exposure', R for resistant, NI for non-interpretable, and SDD for susceptible dose-dependent. Each of these can be set using a regular expression . Furthermore, as.sir()
will try its best to clean with some intelligence. For example, mixed values with SIR interpretations and MIC values such as "<0.25; S"
will be coerced to "S"
. Combined interpretations for multiple test methods (as seen in laboratory records) such as "S; S"
will be coerced to "S"
, but a value like "S; I"
will return NA
with a warning that the input is invalid.
-For interpreting minimum inhibitory concentration (MIC) values according to EUCAST or CLSI. You must clean your MIC values first using as.mic()
, that also gives your columns the new data class mic
. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo
argument.
Using dplyr
, SIR interpretation can be done very easily with either:
+For interpreting minimum inhibitory concentration (MIC) values according to EUCAST or CLSI. You must clean your MIC values first using as.mic()
, that also gives your columns the new data class mic
. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo
argument.
Example to apply using dplyr
:
your_data %>% mutate_if ( is.mic , as.sir )
your_data %>% mutate ( across ( where ( is.mic ) , as.sir ) )
your_data %>% mutate_if ( is.mic , as.sir , ab = "column_with_antibiotics" , mo = "column_with_microorganisms" )
@@ -248,8 +248,9 @@ All breakpoints used for interpretation are available in our clinical_breakpoint
# for veterinary breakpoints, also set `host`:
your_data %>% mutate_if ( is.mic , as.sir , host = "column_with_animal_species" , guideline = "CLSI" )
Operators like "<=" will be stripped before interpretation. When using capped_mic_handling = "conservative"
, an MIC value of e.g. ">2" will always return "R", even if the breakpoint according to the chosen guideline is ">=4". This is to prevent that capped values from raw laboratory data would not be treated conservatively. The default behaviour (capped_mic_handling = "standard"
) considers ">2" to be lower than ">=4" and might in this case return "S" or "I".
+Note: When using CLSI as the guideline, MIC values must be log2-based doubling dilutions. Values not in this format, will be automatically rounded up to the nearest log2 level as CLSI instructs, and a warning will be thrown.
-For interpreting disk diffusion diameters according to EUCAST or CLSI. You must clean your disk zones first using as.disk()
, that also gives your columns the new data class disk
. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo
argument.
Using dplyr
, SIR interpretation can be done very easily with either:
+For interpreting disk diffusion diameters according to EUCAST or CLSI. You must clean your disk zones first using as.disk()
, that also gives your columns the new data class disk
. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo
argument.