From 61dbb433880a4d97b96ca081a43416308097caff Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Mar 2025 16:10:34 +0000 Subject: [PATCH] Built site for AMR@2.1.1.9200: 72f2e72 --- 404.html | 9 +- LICENSE-text.html | 8 +- articles/AMR.html | 11 +- articles/AMR_for_Python.html | 9 +- articles/AMR_with_tidymodels.html | 9 +- articles/EUCAST.html | 9 +- articles/MDR.html | 9 +- articles/PCA.html | 9 +- articles/WHONET.html | 9 +- articles/datasets.html | 9 +- articles/index.html | 8 +- articles/resistance_predict.html | 9 +- articles/welcome_to_AMR.html | 9 +- authors.html | 8 +- extra.css | 8 +- index.html | 9 +- news/index.html | 24 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 8 +- reference/AMR-options.html | 9 +- reference/AMR.html | 8 +- reference/WHOCC.html | 8 +- reference/WHONET.html | 8 +- reference/ab_from_text.html | 8 +- reference/ab_property.html | 8 +- reference/add_custom_antimicrobials.html | 8 +- reference/add_custom_microorganisms.html | 8 +- reference/age.html | 8 +- reference/age_groups.html | 8 +- reference/antibiogram.html | 8 +- reference/antimicrobial_selectors.html | 8 +- reference/antimicrobials.html | 8 +- reference/as.ab.html | 8 +- reference/as.av.html | 8 +- reference/as.disk.html | 38 +-- reference/as.mic.html | 8 +- reference/as.mo.html | 8 +- reference/as.sir.html | 312 +++++------------------ reference/atc_online.html | 8 +- reference/av_from_text.html | 8 +- reference/av_property.html | 8 +- reference/availability.html | 8 +- reference/bug_drug_combinations.html | 8 +- reference/clinical_breakpoints.html | 8 +- reference/count.html | 8 +- reference/custom_eucast_rules.html | 8 +- reference/dosage.html | 8 +- reference/eucast_rules.html | 8 +- reference/example_isolates.html | 8 +- reference/example_isolates_unclean.html | 8 +- reference/export_ncbi_biosample.html | 8 +- reference/first_isolate.html | 8 +- reference/g.test.html | 8 +- reference/get_episode.html | 8 +- reference/ggplot_pca.html | 8 +- reference/ggplot_sir.html | 8 +- reference/guess_ab_col.html | 8 +- reference/index.html | 8 +- reference/intrinsic_resistant.html | 8 +- reference/italicise_taxonomy.html | 8 +- reference/join.html | 8 +- reference/key_antimicrobials.html | 8 +- reference/kurtosis.html | 8 +- reference/like.html | 8 +- reference/mdro.html | 8 +- reference/mean_amr_distance.html | 8 +- reference/microorganisms.codes.html | 8 +- reference/microorganisms.groups.html | 8 +- reference/microorganisms.html | 8 +- reference/mo_matching_score.html | 10 +- reference/mo_property.html | 8 +- reference/mo_source.html | 8 +- reference/pca.html | 8 +- reference/plot-10.png | Bin 61084 -> 19275 bytes reference/plot-11.png | Bin 19275 -> 73459 bytes reference/plot-12.png | Bin 73459 -> 93666 bytes reference/plot-13.png | Bin 93666 -> 88816 bytes reference/plot-14.png | Bin 88816 -> 26471 bytes reference/plot-15.png | Bin 26471 -> 40312 bytes reference/plot-16.png | Bin 40312 -> 27051 bytes reference/plot-17.png | Bin 27051 -> 26115 bytes reference/plot-18.png | Bin 40720 -> 0 bytes reference/plot-19.png | Bin 39878 -> 0 bytes reference/plot-20.png | Bin 26115 -> 0 bytes reference/plot-3.png | Bin 58979 -> 24961 bytes reference/plot-4.png | Bin 24961 -> 27928 bytes reference/plot-5.png | Bin 27928 -> 30774 bytes reference/plot-6.png | Bin 30774 -> 27160 bytes reference/plot-7.png | Bin 27160 -> 33179 bytes reference/plot-8.png | Bin 33179 -> 80659 bytes reference/plot-9.png | Bin 80659 -> 61084 bytes reference/plot.html | 47 ++-- reference/proportion.html | 8 +- reference/random.html | 8 +- reference/resistance_predict.html | 8 +- reference/skewness.html | 8 +- reference/top_n_microorganisms.html | 8 +- reference/translate.html | 8 +- search.json | 2 +- 99 files changed, 503 insertions(+), 539 deletions(-) delete mode 100644 reference/plot-18.png delete mode 100644 reference/plot-19.png delete mode 100644 reference/plot-20.png diff --git a/404.html b/404.html index 2f805cad1..acca990c2 100644 --- a/404.html +++ b/404.html @@ -32,7 +32,7 @@ AMR (for R) - 2.1.1.9198 + 2.1.1.9200
Now we can thus clean our data:
our_data$bacteria <- as.mo(our_data$bacteria, info = TRUE)
+#> ℹ Retrieved values from the microorganisms.codes data set for "ESCCOL",
+#> "KLEPNE", "STAAUR", and "STRPNE".
#> ℹ Microorganism translation was uncertain for four microorganisms. Run
#> mo_uncertainties() to review these uncertainties, or use
#> add_custom_microorganisms() to add custom entries.
(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.)
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.
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.rsi
class, which were all replaced with their sir
equivalents over two years ago.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.ab
, mo
, and uti
: as.sir(..., ab = "column1", mo = "column2", uti = "column3")
. This greatly improves the flexibility for users.as.double()
on a sir
object will return 1 for S, 2 for SDD/I, and 3 for R (NI will become NA
). Other functions using sir
classes (e.g., summary()
) are updated to reflect the change to contain NI and SDD.conserve_capped_values
, which now again works as expected: in MIC values, <x
will always be S, >x
will always be Rconserve_capped_values
in as.sir()
has been replaced with capped_mic_handling
, which allows greater flexibility in handling capped MIC values (<
, <=
, >
, >=
). The four available options ("standard"
, "strict"
, "relaxed"
, "inverse"
) provide full control over whether these values should be interpreted conservatively or ignored. Using conserve_capped_values
is now deprecated and returns a warning.antibiogram()
function
@@ -186,7 +188,7 @@
sir
class for Positronvctrs
integration, a Tidyverse package working in the background for many Tidyverse functions. For users, this means that functions such as dplyr
’s bind_rows()
, rowwise()
and c_across()
are now supported for e.g. columns of class mic
. Despite this, this AMR
package is still zero-dependent on any other package, including dplyr
and vctrs
..xpt
) files, since their file structure and extremely inefficient and requires more disk space than GitHub allows in a single commit.This changelog only contains changes from AMR v3.0 (March 2025) and later.
AMR_antibiogram_formatting_type
A numeric (1-22) to use in antibiogram()
, to indicate which formatting type to use.
AMR_breakpoint_type
A character to use in as.sir()
, to indicate which breakpoint type to use. This must be either "ECOFF", "animal", or "human".
AMR_capped_mic_handling
A character to use in as.sir()
, to indicate how capped MIC values (<
, <=
, >
, >=
) should be interpreted. Must be one of "standard"
, "strict"
, "relaxed"
, or "inverse"
- the default is "standard"
.
AMR_cleaning_regex
A regular expression (case-insensitive) to use in as.mo()
and all mo_*
functions, to clean the user input. The default is the outcome of mo_cleaning_regex()
, which removes texts between brackets and texts such as "species" and "serovar".
AMR_custom_ab
A file location to an RDS file, to use custom antimicrobial drugs with this package. This is explained in add_custom_antimicrobials()
.
AMR_custom_mo
A file location to an RDS file, to use custom microorganisms with this package. This is explained in add_custom_microorganisms()
.