diff --git a/DESCRIPTION b/DESCRIPTION index d9a94b3d..4ff2a0b7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 0.8.0.9033 -Date: 2019-11-18 +Version: 0.8.0.9034 +Date: 2019-11-23 Title: Antimicrobial Resistance Analysis Authors@R: c( person(role = c("aut", "cre"), diff --git a/NEWS.md b/NEWS.md index e8825b6b..1c63f884 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,5 @@ -# AMR 0.8.0.9033 -## Last updated: 18-Nov-2019 +# AMR 0.8.0.9034 +## Last updated: 23-Nov-2019 ### Breaking * Adopted Adeolu *et al.* (2016), [PMID 27620848](https://www.ncbi.nlm.nih.gov/pubmed/27620848) for the `microorganisms` data set, which means that the new order Enterobacterales now consists of a part of the existing family Enterobacteriaceae, but that this family has been split into other families as well (like *Morganellaceae* and *Yersiniaceae*). Although published in 2016, this information is not yet in the Catalogue of Life version of 2019. All MDRO determinations with `mdro()` will now use the Enterobacterales order for all guidelines before 2016 that were dependent on the Enterobacteriaceae family. diff --git a/R/data.R b/R/data.R index f1fbb0a7..c7551b13 100755 --- a/R/data.R +++ b/R/data.R @@ -19,10 +19,11 @@ # Visit our website for more info: https://msberends.gitlab.io/AMR. # # ==================================================================== # -#' Data set with ~450 antibiotics +#' Data sets with ~550 antimicrobials #' -#' A data set containing all antibiotics. Use \code{\link{as.ab}} or one of the \code{\link{ab_property}} functions to retrieve values from this data set. Three identifiers are included in this data set: an antibiotic ID (\code{ab}, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (\code{atc}) as defined by the WHO, and a Compound ID (\code{cid}) as found in PubChem. Other properties in this data set are derived from one or more of these codes. -#' @format A \code{\link{data.frame}} with 453 observations and 13 variables: +#' Two data sets containing all antibiotics/antimycotics and antivirals. Use \code{\link{as.ab}} or one of the \code{\link{ab_property}} functions to retrieve values from the \code{antibiotics} data set. Three identifiers are included in this data set: an antibiotic ID (\code{ab}, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (\code{atc}) as defined by the WHO, and a Compound ID (\code{cid}) as found in PubChem. Other properties in this data set are derived from one or more of these codes. +#' @format +#' \strong{For the \code{antibiotics} data set: a \code{\link{data.frame}} with 452 observations and 13 variables:} #' \describe{ #' \item{\code{ab}}{Antibiotic ID as used in this package (like \code{AMC}), using the official EARS-Net (European Antimicrobial Resistance Surveillance Network) codes where available} #' \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC, like \code{J01CR02}} @@ -38,7 +39,20 @@ #' \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} #' \item{\code{iv_units}}{Units of \code{iv_ddd}} #' } -#' @details Properties that are based on an ATC code are only available when an ATC is available. These properties are: \code{atc_group1}, \code{atc_group2}, \code{oral_ddd}, \code{oral_units}, \code{iv_ddd} and \code{iv_units} +#' +#' \strong{For the \code{antivirals} data set: a \code{\link{data.frame}} with 102 observations and 9 variables:} +#' \describe{ +#' \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC} +#' \item{\code{cid}}{Compound ID as found in PubChem} +#' \item{\code{name}}{Official name as used by WHONET/EARS-Net or the WHO} +#' \item{\code{atc_group}}{Official pharmacological subgroup (3rd level ATC code) as defined by the WHOCC} +#' \item{\code{synonyms}}{Synonyms (often trade names) of a drug, as found in PubChem based on their compound ID} +#' \item{\code{oral_ddd}}{Defined Daily Dose (DDD), oral treatment} +#' \item{\code{oral_units}}{Units of \code{oral_ddd}} +#' \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} +#' \item{\code{iv_units}}{Units of \code{iv_ddd}} +#' } +#' @details Properties that are based on an ATC code are only available when an ATC is available. These properties are: \code{atc_group1}, \code{atc_group2}, \code{oral_ddd}, \code{oral_units}, \code{iv_ddd} and \code{iv_units}. #' #' Synonyms (i.e. trade names) are derived from the Compound ID (\code{cid}) and consequently only available where a CID is available. #' @source World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology (WHOCC): \url{https://www.whocc.no/atc_ddd_index/} @@ -48,26 +62,10 @@ #' European Commission Public Health PHARMACEUTICALS - COMMUNITY REGISTER: \url{http://ec.europa.eu/health/documents/community-register/html/atc.htm} #' @inheritSection WHOCC WHOCC #' @inheritSection AMR Read more on our website! -#' @seealso \code{\link{antivirals}} \code{\link{microorganisms}} +#' @seealso \code{\link{microorganisms}} "antibiotics" -#' Data set with ~100 antivirals -#' -#' A data set containing all antivirals, according to the ATC code group 'J05' (Antivirals for systemic use). -#' @format A \code{\link{data.frame}} with 102 observations and 7 variables: -#' \describe{ -#' \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC} -#' \item{\code{name}}{Official name as used by WHONET/EARS-Net or the WHO} -#' \item{\code{atc_group}}{Official pharmacological subgroup (3rd level ATC code) as defined by the WHOCC} -#' \item{\code{oral_ddd}}{Defined Daily Dose (DDD), oral treatment} -#' \item{\code{oral_units}}{Units of \code{oral_ddd}} -#' \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} -#' \item{\code{iv_units}}{Units of \code{iv_ddd}} -#' } -#' @source World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology (WHOCC): \url{https://www.whocc.no/atc_ddd_index/} -#' @inheritSection WHOCC WHOCC -#' @inheritSection AMR Read more on our website! -#' @seealso \code{\link{antibiotics}} \code{\link{microorganisms}} +#' @rdname antibiotics "antivirals" #' Data set with ~70,000 microorganisms diff --git a/R/misc.R b/R/misc.R index cfa1e8d6..37ae8870 100755 --- a/R/misc.R +++ b/R/misc.R @@ -29,6 +29,14 @@ addin_insert_like <- function() { rstudioapi::insertText(" %like% ") } +load_AMR_package <- function() { + if (!"package:AMR" %in% base::search()) { + require(AMR) + # check onLoad() in R/zzz.R: data tables are created there. + } + base::invisible() +} + #' @importFrom crayon blue bold red #' @importFrom dplyr %>% pull search_type_in_df <- function(x, type) { diff --git a/R/mo.R b/R/mo.R index 6e5eb645..b310c0c0 100755 --- a/R/mo.R +++ b/R/mo.R @@ -183,11 +183,14 @@ #' df <- df %>% #' mutate(mo = as.mo(paste(genus, species))) #' } -as.mo <- function(x, Becker = FALSE, Lancefield = FALSE, allow_uncertain = TRUE, reference_df = get_mo_source(), ...) { - if (!"AMR" %in% base::.packages()) { - require("AMR") - # check onLoad() in R/zzz.R: data tables are created there. - } +as.mo <- function(x, + Becker = FALSE, + Lancefield = FALSE, + allow_uncertain = TRUE, + reference_df = get_mo_source(), + ...) { + + load_AMR_package() # WHONET: xxx = no growth x[tolower(as.character(paste0(x, ""))) %in% c("", "xxx", "na", "nan")] <- NA_character_ @@ -293,10 +296,7 @@ exec_as.mo <- function(x, debug = FALSE, reference_data_to_use = microorganismsDT) { - if (!"AMR" %in% base::.packages()) { - require("AMR") - # check onLoad() in R/zzz.R: data tables are created there. - } + load_AMR_package() # WHONET: xxx = no growth x[tolower(as.character(paste0(x, ""))) %in% c("", "xxx", "na", "nan")] <- NA_character_ diff --git a/R/mo_property.R b/R/mo_property.R index eb9083b2..7f5cabf3 100755 --- a/R/mo_property.R +++ b/R/mo_property.R @@ -396,6 +396,8 @@ mo_property <- function(x, property = "fullname", language = get_locale(), ...) } mo_validate <- function(x, property, ...) { + + load_AMR_package() dots <- list(...) Becker <- dots$Becker @@ -407,11 +409,6 @@ mo_validate <- function(x, property, ...) { Lancefield <- FALSE } - if (!"AMR" %in% base::.packages()) { - require("AMR") - # check .onLoad() in R/zzz.R: data tables are created there. - } - # try to catch an error when inputting an invalid parameter # so the 'call.' can be set to FALSE tryCatch(x[1L] %in% AMR::microorganisms[1, property], diff --git a/_pkgdown.yml b/_pkgdown.yml index f74f913b..0e1359b0 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -155,14 +155,10 @@ reference: 'like' function can be useful: `if (x %like% y) {...}`. contents: - "`get_locale`" - - "`like`" - - title: Extended functions - desc: > - These functions are extensions of functions in other packages. - contents: - "`extended-functions`" + - "`like`" - "`reexports`" - - title: functions + - title: Deprecated functions desc: > These functions are deprecated, meaning that they will still work but show a warning with every use and will be removed diff --git a/data-raw/reproduction_of_antivirals.R b/data-raw/reproduction_of_antivirals.R index 6f781161..230c24c1 100644 --- a/data-raw/reproduction_of_antivirals.R +++ b/data-raw/reproduction_of_antivirals.R @@ -57,6 +57,33 @@ for (i in 2:length(atc_groups)) { antivirals <- rbind(antivirals, get_atc_table(atc_groups[i])) } -# arrange on name, untibble it and save +# arrange on name, untibble it antivirals <- antivirals %>% arrange(name) %>% as.data.frame(stringsAsFactors = FALSE) + +# add PubChem Compound ID (cid) and their trade names - functions are in file to create `antibiotics` data set +CIDs <- get_CID(antivirals$name) +# these could not be found: +antivirals[is.na(CIDs),] %>% View() +# get brand names from PubChem +synonyms <- get_synonyms(CIDs) +synonyms <- lapply(synonyms, + function(x) { + if (length(x) == 0 | all(is.na(x))) { + "" + } else { + x + }}) + +antivirals <- antivirals %>% + transmute(atc, + cid = CIDs, + name, + atc_group, + synonyms = unname(synonyms), + oral_ddd, + oral_units, + iv_ddd, + iv_units) + +# save it usethis::use_data(antivirals, overwrite = TRUE) diff --git a/data/antivirals.rda b/data/antivirals.rda index 8217fe01..8cda4848 100644 Binary files a/data/antivirals.rda and b/data/antivirals.rda differ diff --git a/docs/404.html b/docs/404.html index ae0ed72b..c62e2344 100644 --- a/docs/404.html +++ b/docs/404.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 1f557fd1..a8ddb657 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034 diff --git a/docs/articles/AMR.html b/docs/articles/AMR.html index 9e658236..897c734e 100644 --- a/docs/articles/AMR.html +++ b/docs/articles/AMR.html @@ -41,7 +41,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9033 @@ -187,7 +187,7 @@

How to conduct AMR analysis

Matthijs S. Berends

-

18 November 2019

+

23 November 2019

@@ -196,7 +196,7 @@ -

Note: values on this page will change with every 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 18 November 2019.

+

Note: values on this page will change with every 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 23 November 2019.

Introduction

@@ -212,21 +212,21 @@ -2019-11-18 +2019-11-23 abcd Escherichia coli S S -2019-11-18 +2019-11-23 abcd Escherichia coli S R -2019-11-18 +2019-11-23 efgh Escherichia coli R @@ -321,71 +321,71 @@ -2011-03-27 -O9 +2016-08-29 +I4 +Hospital B +Streptococcus pneumoniae +S +S +S +S +M + + +2016-04-25 +U3 +Hospital A +Streptococcus pneumoniae +R +S +S +S +F + + +2013-06-29 +W2 +Hospital B +Staphylococcus aureus +S +S +R +S +F + + +2011-12-21 +D5 +Hospital C +Escherichia coli +S +S +S +S +M + + +2016-10-19 +G6 +Hospital B +Escherichia coli +R +S +S +S +M + + +2017-08-29 +Y5 Hospital B Escherichia coli S S -S -S -F - - -2015-09-08 -U5 -Hospital C -Escherichia coli -S -S -S -S -F - - -2014-09-10 -L5 -Hospital C -Staphylococcus aureus -S R S -S -M - - -2011-07-28 -D7 -Hospital A -Escherichia coli -S -S -S -S -M - - -2013-04-12 -N6 -Hospital A -Escherichia coli -I -S -S -S F - -2017-03-29 -F1 -Hospital A -Escherichia coli -S -S -S -S -M -

Now, let’s start the cleaning and the analysis!

@@ -406,8 +406,8 @@ # # Item Count Percent Cum. Count Cum. Percent # --- ----- ------- -------- ----------- ------------- -# 1 M 10,413 52.06% 10,413 52.06% -# 2 F 9,587 47.94% 20,000 100.00% +# 1 M 10,451 52.26% 10,451 52.26% +# 2 F 9,549 47.75% 20,000 100.00%

So, we can draw at least two conclusions immediately. From a data scientists perspective, the data looks clean: only values M and F. From a researchers perspective: there are slightly more men. Nothing we didn’t already know.

The data is already quite clean, but we still need to transform some variables. The bacteria column now consists of text, and we want to add more variables based on microbial IDs later on. So, we will transform this column to valid IDs. The mutate() function of the dplyr package makes this really easy:

data <- data %>%
@@ -422,8 +422,8 @@
 # Other rules by this AMR package
 # Non-EUCAST: inherit amoxicillin results for unavailable ampicillin (no changes)
 # Non-EUCAST: inherit ampicillin results for unavailable amoxicillin (no changes)
-# Non-EUCAST: set amoxicillin/clav acid = S where ampicillin = S (2,986 values changed)
-# Non-EUCAST: set ampicillin = R where amoxicillin/clav acid = R (176 values changed)
+# Non-EUCAST: set amoxicillin/clav acid = S where ampicillin = S (2,952 values changed)
+# Non-EUCAST: set ampicillin = R where amoxicillin/clav acid = R (155 values changed)
 # Non-EUCAST: set piperacillin = R where piperacillin/tazobactam = R (no changes)
 # Non-EUCAST: set piperacillin/tazobactam = S where piperacillin = S (no changes)
 # Non-EUCAST: set trimethoprim = R where trimethoprim/sulfa = R (no changes)
@@ -448,14 +448,14 @@
 # Pasteurella multocida (no changes)
 # Staphylococcus (no changes)
 # Streptococcus groups A, B, C, G (no changes)
-# Streptococcus pneumoniae (1,015 values changed)
+# Streptococcus pneumoniae (984 values changed)
 # Viridans group streptococci (no changes)
 # 
 # EUCAST Expert Rules, Intrinsic Resistance and Exceptional Phenotypes (v3.1, 2016)
-# Table 01: Intrinsic resistance in Enterobacteriaceae (1,284 values changed)
+# Table 01: Intrinsic resistance in Enterobacteriaceae (1,309 values changed)
 # Table 02: Intrinsic resistance in non-fermentative Gram-negative bacteria (no changes)
 # Table 03: Intrinsic resistance in other Gram-negative bacteria (no changes)
-# Table 04: Intrinsic resistance in Gram-positive bacteria (2,796 values changed)
+# Table 04: Intrinsic resistance in Gram-positive bacteria (2,719 values changed)
 # Table 08: Interpretive rules for B-lactam agents and Gram-positive cocci (no changes)
 # Table 09: Interpretive rules for B-lactam agents and Gram-negative rods (no changes)
 # Table 11: Interpretive rules for macrolides, lincosamides, and streptogramins (no changes)
@@ -463,15 +463,15 @@
 # Table 13: Interpretive rules for quinolones (no changes)
 # 
 # --------------------------------------------------------------------------
-# EUCAST rules affected 6,569 out of 20,000 rows, making a total of 8,257 edits
+# EUCAST rules affected 6,464 out of 20,000 rows, making a total of 8,119 edits
 # => added 0 test results
 # 
-# => changed 8,257 test results
-#    - 123 test results changed from S to I
-#    - 4,779 test results changed from S to R
-#    - 1,134 test results changed from I to S
-#    - 369 test results changed from I to R
-#    - 1,852 test results changed from R to S
+# => changed 8,119 test results
+#    - 109 test results changed from S to I
+#    - 4,710 test results changed from S to R
+#    - 1,166 test results changed from I to S
+#    - 348 test results changed from I to R
+#    - 1,786 test results changed from R to S
 # --------------------------------------------------------------------------
 # 
 # Use eucast_rules(..., verbose = TRUE) (on your original data) to get a data.frame with all specified edits instead.
@@ -499,8 +499,8 @@ # NOTE: Using column `bacteria` as input for `col_mo`. # NOTE: Using column `date` as input for `col_date`. # NOTE: Using column `patient_id` as input for `col_patient_id`. -# => Found 5,699 first isolates (28.5% of total)
-

So only 28.5% is suitable for resistance analysis! We can now filter on it with the filter() function, also from the dplyr package:

+# => Found 5,669 first isolates (28.3% of total) +

So only 28.3% is suitable for resistance analysis! We can now filter on it with the filter() function, also from the dplyr package:

data_1st <- data %>% 
   filter(first == TRUE)

For future use, the above two syntaxes can be shortened with the filter_first_isolate() function:

@@ -510,7 +510,7 @@

First weighted isolates

-

We made a slight twist to the CLSI algorithm, to take into account the antimicrobial susceptibility profile. Have a look at all isolates of patient X7, sorted on date:

+

We made a slight twist to the CLSI algorithm, to take into account the antimicrobial susceptibility profile. Have a look at all isolates of patient T6, sorted on date:

@@ -526,19 +526,19 @@ - - + + - + - - + + @@ -548,32 +548,32 @@ - - + + + + - - - - + + - - + + - - + + - + @@ -581,19 +581,19 @@ - - + + - + - - + + @@ -603,30 +603,30 @@ - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + @@ -647,7 +647,7 @@ # NOTE: Using column `patient_id` as input for `col_patient_id`.# NOTE: Using column `keyab` as input for `col_keyantibiotics`. Use col_keyantibiotics = FALSE to prevent this.# [Criterion] Inclusion based on key antibiotics, ignoring I -# => Found 15,085 first weighted isolates (75.4% of total) +# => Found 15,096 first weighted isolates (75.5% of total)
isolate
12010-03-18X72010-02-28T6 B_ESCHR_COLI S S SSR TRUE
22010-04-28X72010-03-01T6 B_ESCHR_COLI S S
32010-06-26X72010-05-20T6 B_ESCHR_COLISS R SSS FALSE
42010-08-06X72010-06-21T6 B_ESCHR_COLI S SSSRR FALSE
52010-08-31X72010-09-24T6 B_ESCHR_COLISR S S S
62010-10-15X72010-11-18T6 B_ESCHR_COLI R S SSR FALSE
72010-11-19X72011-02-07T6 B_ESCHR_COLI R S
82011-01-20X72011-03-09T6 B_ESCHR_COLI S SRSTRUE
92011-03-23T6B_ESCHR_COLIRS S S FALSE
92011-04-10X7B_ESCHR_COLISSSSTRUE
102011-04-12X72011-04-01T6 B_ESCHR_COLI S S
@@ -664,68 +664,56 @@ - - + + - + - - + + - + - - + + + + - - - - + + - - + + - - - - - - - - - - - - - - + + @@ -734,61 +722,73 @@ + + + + + + + + + + + + - - + + - + - - + + + - - + - - + + + - - + - - + + - +
isolate
12010-03-18X72010-02-28T6 B_ESCHR_COLI S S SSR TRUE TRUE
22010-04-28X72010-03-01T6 B_ESCHR_COLI S S S S FALSEFALSETRUE
32010-06-26X72010-05-20T6 B_ESCHR_COLISS R SSS FALSE TRUE
42010-08-06X72010-06-21T6 B_ESCHR_COLI S SSSRR FALSE TRUE
52010-08-31X7B_ESCHR_COLISSSSFALSEFALSE
62010-10-15X72010-09-24T6 B_ESCHR_COLI R SFALSE TRUE
62010-11-18T6B_ESCHR_COLIRSSRFALSETRUE
72010-11-19X72011-02-07T6 B_ESCHR_COLI R S S S FALSEFALSETRUE
82011-01-20X72011-03-09T6 B_ESCHR_COLI S SR SSFALSETRUE TRUE
92011-04-10X72011-03-23T6 B_ESCHR_COLIR S S SSTRUEFALSE TRUE
102011-04-12X72011-04-01T6 B_ESCHR_COLI S S S S FALSEFALSETRUE
-

Instead of 2, now 6 isolates are flagged. In total, 75.4% of all isolates are marked ‘first weighted’ - 46.9% more than when using the CLSI guideline. In real life, this novel algorithm will yield 5-10% more isolates than the classic CLSI guideline.

+

Instead of 2, now 10 isolates are flagged. In total, 75.5% of all isolates are marked ‘first weighted’ - 47.1% more than when using the CLSI guideline. In real life, this novel algorithm will yield 5-10% more isolates than the classic CLSI guideline.

As with filter_first_isolate(), there’s a shortcut for this new algorithm too:

data_1st <- data %>% 
   filter_first_weighted_isolate()
-

So we end up with 15,085 isolates for analysis.

+

So we end up with 15,096 isolates for analysis.

We can remove unneeded columns:

data_1st <- data_1st %>% 
   select(-c(first, keyab))
@@ -814,44 +814,12 @@ 1 -2011-03-27 -O9 +2016-08-29 +I4 Hospital B -B_ESCHR_COLI -S -S -S -S -F -Gram-negative -Escherichia -coli -TRUE - - -4 -2011-07-28 -D7 -Hospital A -B_ESCHR_COLI -S -S -S -S -M -Gram-negative -Escherichia -coli -TRUE - - -8 -2015-08-23 -M1 -Hospital D B_STRPT_PNMN -R -R +S +S S R M @@ -861,31 +829,31 @@ TRUE -9 -2017-03-08 -G2 -Hospital B -B_KLBSL_PNMN +2 +2016-04-25 +U3 +Hospital A +B_STRPT_PNMN +R R S -S R -M -Gram-negative -Klebsiella +F +Gram-positive +Streptococcus pneumoniae TRUE -10 -2013-11-09 -Q8 -Hospital A +3 +2013-06-29 +W2 +Hospital B B_STPHY_AURS +S +S R S -S -S F Gram-positive Staphylococcus @@ -893,21 +861,53 @@ TRUE -16 -2010-06-08 -O4 -Hospital A +5 +2016-10-19 +G6 +Hospital B B_ESCHR_COLI R S S S +M +Gram-negative +Escherichia +coli +TRUE + + +6 +2017-08-29 +Y5 +Hospital B +B_ESCHR_COLI +S +S +R +S F Gram-negative Escherichia coli TRUE + +10 +2016-02-16 +L3 +Hospital D +B_STRPT_PNMN +S +S +R +R +M +Gram-positive +Streptococcus +pneumoniae +TRUE +

Time for the analysis!

@@ -927,7 +927,7 @@
data_1st %>% freq(genus, species)

Frequency table

Class: character
-Length: 15,085 (of which NA: 0 = 0%)
+Length: 15,096 (of which NA: 0 = 0%)
Unique: 4

Shortest: 16
Longest: 24

@@ -944,33 +944,33 @@ Longest: 24

1 Escherichia coli -7,426 -49.23% -7,426 -49.23% +7,646 +50.65% +7,646 +50.65% 2 Staphylococcus aureus -3,769 -24.99% -11,195 -74.21% +3,610 +23.91% +11,256 +74.56% 3 Streptococcus pneumoniae -2,340 -15.51% -13,535 -89.72% +2,315 +15.34% +13,571 +89.90% 4 Klebsiella pneumoniae -1,550 -10.28% -15,085 +1,525 +10.10% +15,096 100.00% @@ -982,7 +982,7 @@ Longest: 24

The functions resistance() and susceptibility() can be used to calculate antimicrobial resistance or susceptibility. For more specific analyses, the functions proportion_S(), proportion_SI(), proportion_I(), proportion_IR() and proportion_R() can be used to determine the proportion of a specific antimicrobial outcome.

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:

data_1st %>% resistance(AMX)
-# [1] 0.4684123
+# [1] 0.4690647

Or can be used in conjuction with group_by() and summarise(), both from the dplyr package:

data_1st %>% 
   group_by(hospital) %>% 
@@ -995,19 +995,19 @@ Longest: 24

Hospital A -0.4666964 +0.4740061 Hospital B -0.4711845 +0.4707669 Hospital C -0.4627451 +0.4640934 Hospital D -0.4704102 +0.4622766 @@ -1025,23 +1025,23 @@ Longest: 24

Hospital A -0.4666964 -4489 +0.4740061 +4578 Hospital B -0.4711845 -5327 +0.4707669 +5268 Hospital C -0.4627451 -2295 +0.4640934 +2228 Hospital D -0.4704102 -2974 +0.4622766 +3022 @@ -1061,27 +1061,27 @@ Longest: 24

Escherichia -0.9243200 -0.8955023 -0.9934016 +0.9193042 +0.8966780 +0.9935914 Klebsiella -0.9174194 -0.9019355 -0.9967742 +0.9285246 +0.8878689 +0.9940984 Staphylococcus -0.9193420 -0.9211993 -0.9936323 +0.9166205 +0.9171745 +0.9919668 Streptococcus -0.6128205 +0.6241901 0.0000000 -0.6128205 +0.6241901 diff --git a/docs/articles/AMR_files/figure-html/plot 1-1.png b/docs/articles/AMR_files/figure-html/plot 1-1.png index 157e8a6b..32ddf375 100644 Binary files a/docs/articles/AMR_files/figure-html/plot 1-1.png and b/docs/articles/AMR_files/figure-html/plot 1-1.png differ diff --git a/docs/articles/AMR_files/figure-html/plot 3-1.png b/docs/articles/AMR_files/figure-html/plot 3-1.png index 81c7a283..146d8308 100644 Binary files a/docs/articles/AMR_files/figure-html/plot 3-1.png and b/docs/articles/AMR_files/figure-html/plot 3-1.png differ diff --git a/docs/articles/AMR_files/figure-html/plot 4-1.png b/docs/articles/AMR_files/figure-html/plot 4-1.png index 6191bf74..462c348c 100644 Binary files a/docs/articles/AMR_files/figure-html/plot 4-1.png and b/docs/articles/AMR_files/figure-html/plot 4-1.png differ diff --git a/docs/articles/AMR_files/figure-html/plot 5-1.png b/docs/articles/AMR_files/figure-html/plot 5-1.png index 39b50936..1c8dcc0b 100644 Binary files a/docs/articles/AMR_files/figure-html/plot 5-1.png and b/docs/articles/AMR_files/figure-html/plot 5-1.png differ diff --git a/docs/articles/MDR.html b/docs/articles/MDR.html index 1620590b..cf19b982 100644 --- a/docs/articles/MDR.html +++ b/docs/articles/MDR.html @@ -41,7 +41,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9033
@@ -187,7 +187,7 @@

How to determine multi-drug resistance (MDR)

Matthijs S. Berends

-

18 November 2019

+

23 November 2019

@@ -307,19 +307,19 @@ Unique: 2

The data set now looks like this:

head(my_TB_data)
 #   rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-# 1          S         R            S          S            S            S
-# 2          S         S            S          S            R            S
-# 3          S         R            R          S            S            R
-# 4          S         R            S          S            I            S
-# 5          R         S            S          I            R            S
-# 6          R         R            S          S            R            R
+# 1          S         R            I          S            I            S
+# 2          S         I            S          S            R            R
+# 3          R         I            R          R            R            I
+# 4          S         S            S          R            R            R
+# 5          I         S            R          S            R            I
+# 6          R         S            R          R            S            R
 #   kanamycin
-# 1         R
-# 2         R
-# 3         R
-# 4         S
+# 1         S
+# 2         S
+# 3         S
+# 4         R
 # 5         S
-# 6         S
+# 6 R

We can now add the interpretation of MDR-TB to our data set. You can use:

mdro(my_TB_data, guideline = "TB")

or its shortcut mdr_tb():

@@ -336,7 +336,7 @@ Unique: 2

# Author: WHO (World Health Organization) # Source: https://www.who.int/tb/publications/pmdt_companionhandbook/en/ # -# => Found 4341 MDROs out of 5000 tested isolates (86.8%) +# => Found 4367 MDROs out of 5000 tested isolates (87.3%)

Create a frequency table of the results:

freq(my_TB_data$mdr)

Frequency table

@@ -357,40 +357,40 @@ Unique: 5

1 Mono-resistant -3281 -65.62% -3281 -65.62% +3272 +65.44% +3272 +65.44% 2 Negative -659 -13.18% -3940 -78.80% +633 +12.66% +3905 +78.10% 3 Multi-drug-resistant -571 -11.42% -4511 -90.22% +584 +11.68% +4489 +89.78% 4 Poly-resistant -278 -5.56% -4789 -95.78% +293 +5.86% +4782 +95.64% 5 Extensively drug-resistant -211 -4.22% +218 +4.36% 5000 100.00% diff --git a/docs/articles/index.html b/docs/articles/index.html index 130e31fb..6190f5b0 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034 diff --git a/docs/authors.html b/docs/authors.html index 6f9ff702..deebbbe1 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034 diff --git a/docs/countries.png b/docs/countries.png new file mode 100644 index 00000000..df8e944e Binary files /dev/null and b/docs/countries.png differ diff --git a/docs/extra.css b/docs/extra.css index 2c97a9df..ae63a9a9 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -41,6 +41,11 @@ width: 19%; min-width: 125px; } +.countries_map { + float: left; + padding: 0 10px 10px 0; + max-width: 25%; +} @media only screen and (max-width: 992px) { .footer_logo { float: left; diff --git a/docs/index.html b/docs/index.html index 2dd54fee..ff0de3c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -45,7 +45,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034 @@ -200,10 +200,15 @@ A methods paper about this package has been preprinted at bioRxiv. It was update

What is AMR (for R)?

-

AMR is a free and open-source R package to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial properties by using evidence-based methods. Since its first public release in early 2018, this package has been downloaded over 25,000 times from more than 70 countries (source: CRAN logs, 2019).

-

After installing this package, R knows ~70,000 distinct microbial species and all ~550 antibiotic, antimycotic and antiviral drugs by name and code, and knows all about valid RSI and MIC values. It supports any data format, including WHONET/EARS-Net data.

+

AMR is a free and open-source R package to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial properties by using evidence-based methods. After installing this package, R knows ~70,000 distinct microbial species and all ~550 antibiotic, antimycotic and antiviral drugs by name and code, and knows all about valid RSI and MIC values. It supports any data format, including WHONET/EARS-Net data.

We created this package for both routine analysis and academic research (as part of our PhD theses) at the Faculty of Medical Sciences of the University of Groningen, the Netherlands, and the Medical Microbiology & Infection Prevention (MMBI) department of the University Medical Center Groningen (UMCG). This R package is actively maintained and is free software (see Copyright).

-

Used to SPSS? Read our tutorial on how to import data from SPSS, SAS or Stata.

+
+

+ + Used in over 70 countries
+ Since its first public release in early 2018, this package has been downloaded over 25,000 times from 74 countries (as of November 2019, CRAN logs). Click the map to enlarge.

+

+

Partners

diff --git a/docs/news/index.html b/docs/news/index.html index 50c6df90..46a039d1 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034
@@ -231,13 +231,13 @@
-
+

-AMR 0.8.0.9033 Unreleased +AMR 0.8.0.9034 Unreleased

-
+

-Last updated: 18-Nov-2019 +Last updated: 23-Nov-2019

@@ -1391,7 +1391,7 @@ Using as.mo(..., allow_uncertain = 3)

Contents

diff --git a/docs/reference/antibiotics.html b/docs/reference/antibiotics.html index 4724a72b..6b830065 100644 --- a/docs/reference/antibiotics.html +++ b/docs/reference/antibiotics.html @@ -6,7 +6,7 @@ -Data set with ~450 antibiotics — antibiotics • AMR (for R) +Data sets with ~550 antimicrobials — antibiotics • AMR (for R) @@ -50,8 +50,8 @@ - - + + @@ -85,7 +85,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9034
@@ -228,21 +228,23 @@
-

A data set containing all antibiotics. Use as.ab or one of the ab_property functions to retrieve values from this data set. Three identifiers are included in this data set: an antibiotic ID (ab, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (atc) as defined by the WHO, and a Compound ID (cid) as found in PubChem. Other properties in this data set are derived from one or more of these codes.

+

Two data sets containing all antibiotics/antimycotics and antivirals. Use as.ab or one of the ab_property functions to retrieve values from the antibiotics data set. Three identifiers are included in this data set: an antibiotic ID (ab, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (atc) as defined by the WHO, and a Compound ID (cid) as found in PubChem. Other properties in this data set are derived from one or more of these codes.

-
antibiotics
+
antibiotics
+
+antivirals

Format

-

A data.frame with 453 observations and 13 variables:

+

For the antibiotics data set: a data.frame with 452 observations and 13 variables:

ab

Antibiotic ID as used in this package (like AMC), using the official EARS-Net (European Antimicrobial Resistance Surveillance Network) codes where available

atc

ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC, like J01CR02

cid

Compound ID as found in PubChem

@@ -257,6 +259,19 @@
iv_ddd

Defined Daily Dose (DDD), parenteral treatment

iv_units

Units of iv_ddd

+
+ +

For the antivirals data set: a data.frame with 102 observations and 9 variables:

+
atc

ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC

+
cid

Compound ID as found in PubChem

+
name

Official name as used by WHONET/EARS-Net or the WHO

+
atc_group

Official pharmacological subgroup (3rd level ATC code) as defined by the WHOCC

+
synonyms

Synonyms (often trade names) of a drug, as found in PubChem based on their compound ID

+
oral_ddd

Defined Daily Dose (DDD), oral treatment

+
oral_units

Units of oral_ddd

+
iv_ddd

Defined Daily Dose (DDD), parenteral treatment

+
iv_units

Units of iv_ddd

+

Source

@@ -265,7 +280,7 @@

European Commission Public Health PHARMACEUTICALS - COMMUNITY REGISTER: http://ec.europa.eu/health/documents/community-register/html/atc.htm

Details

-

Properties that are based on an ATC code are only available when an ATC is available. These properties are: atc_group1, atc_group2, oral_ddd, oral_units, iv_ddd and iv_units

+

Properties that are based on an ATC code are only available when an ATC is available. These properties are: atc_group1, atc_group2, oral_ddd, oral_units, iv_ddd and iv_units.

Synonyms (i.e. trade names) are derived from the Compound ID (cid) and consequently only available where a CID is available.

WHOCC

@@ -283,7 +298,7 @@ This package contains all ~550 antibiotic, antimycotic and antiviral dru

On our website https://msberends.gitlab.io/AMR you can find a tutorial about how to conduct AMR analysis, the complete documentation of all functions (which reads a lot easier than here in R) and an example analysis using WHONET data.

See also

-

antivirals microorganisms

+
diff --git a/docs/reference/eucast_rules.html b/docs/reference/eucast_rules.html index 09701e32..48fafcd2 100644 --- a/docs/reference/eucast_rules.html +++ b/docs/reference/eucast_rules.html @@ -86,7 +86,7 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied AMR (for R) - 0.8.0.9032 + 0.8.0.9033
diff --git a/docs/reference/example_isolates.html b/docs/reference/example_isolates.html index c213ba64..03917626 100644 --- a/docs/reference/example_isolates.html +++ b/docs/reference/example_isolates.html @@ -85,7 +85,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9033
diff --git a/docs/reference/index.html b/docs/reference/index.html index 1c0fe3da..4e915eaa 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -84,7 +84,7 @@ AMR (for R) - 0.8.0.9033 + 0.8.0.9034
@@ -452,15 +452,9 @@ -

antibiotics

+

antibiotics antivirals

-

Data set with ~450 antibiotics

- - - -

antivirals

- -

Data set with ~100 antivirals

+

Data sets with ~550 antimicrobials

@@ -539,26 +533,18 @@

Translate strings from AMR package

- -

like() `%like%` `%like_case%`

- -

Pattern Matching

- - - - -

Extended functions

-

These functions are extensions of functions in other packages.

- - - -

scale_type.mo() scale_type.ab()

Extended functions

+ +

like() `%like%` `%like_case%`

+ +

Pattern Matching

+ +

reexports

@@ -567,7 +553,7 @@ -

functions

+

Deprecated functions

These functions are deprecated, meaning that they will still work but show a warning with every use and will be removed in a future version.

@@ -591,8 +577,7 @@
  • Included data sets
  • Background information
  • Other functions
  • -
  • Extended functions
  • -
  • functions
  • +
  • Deprecated functions
  • diff --git a/docs/reference/mdro.html b/docs/reference/mdro.html index 1a449711..f1d5c40d 100644 --- a/docs/reference/mdro.html +++ b/docs/reference/mdro.html @@ -85,7 +85,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9033 diff --git a/docs/reference/rsi_translation.html b/docs/reference/rsi_translation.html index 2f74af5e..54166eb8 100644 --- a/docs/reference/rsi_translation.html +++ b/docs/reference/rsi_translation.html @@ -85,7 +85,7 @@ AMR (for R) - 0.8.0.9032 + 0.8.0.9033 diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 131eb24d..092414d3 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -27,9 +27,6 @@ https://msberends.gitlab.io/AMR/reference/antibiotics.html - - https://msberends.gitlab.io/AMR/reference/antivirals.html - https://msberends.gitlab.io/AMR/reference/as.ab.html diff --git a/index.md b/index.md index c153a5ce..83ff5c74 100644 --- a/index.md +++ b/index.md @@ -10,13 +10,16 @@ ### What is `AMR` (for R)? -`AMR` is a free and open-source [R package](https://www.r-project.org) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial properties by using evidence-based methods. Since its first public release in early 2018, this package has been downloaded over 25,000 times from more than 70 countries (source: [CRAN logs, 2019](https://cran-logs.rstudio.com)). - -After installing this package, R knows [**~70,000 distinct microbial species**](./reference/microorganisms.html) and all [**~550 antibiotic, antimycotic and antiviral drugs**](./reference/antibiotics.html) by name and code, and knows all about valid RSI and MIC values. It supports any data format, including WHONET/EARS-Net data. +`AMR` is a free and open-source [R package](https://www.r-project.org) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial properties by using evidence-based methods. After installing this package, R knows [**~70,000 distinct microbial species**](./reference/microorganisms.html) and all [**~550 antibiotic, antimycotic and antiviral drugs**](./reference/antibiotics.html) by name and code, and knows all about valid RSI and MIC values. It supports any data format, including WHONET/EARS-Net data. We created this package for both routine analysis and academic research (as part of our PhD theses) at the Faculty of Medical Sciences of the University of Groningen, the Netherlands, and the Medical Microbiology & Infection Prevention (MMBI) department of the University Medical Center Groningen (UMCG). This R package is [actively maintained](./news) and is free software (see [Copyright](#copyright)). -**Used to SPSS?** Read our [tutorial on how to import data from SPSS, SAS or Stata](./articles/SPSS.html). +
    +

    + + Used in over 70 countries
    + Since its first public release in early 2018, this package has been downloaded over 25,000 times from 74 countries (as of November 2019, CRAN logs). Click the map to enlarge.



    +
    #### Partners diff --git a/man/antibiotics.Rd b/man/antibiotics.Rd index e694bf2c..4a826fe4 100644 --- a/man/antibiotics.Rd +++ b/man/antibiotics.Rd @@ -3,8 +3,9 @@ \docType{data} \name{antibiotics} \alias{antibiotics} -\title{Data set with ~450 antibiotics} -\format{A \code{\link{data.frame}} with 453 observations and 13 variables: +\alias{antivirals} +\title{Data sets with ~550 antimicrobials} +\format{\strong{For the \code{antibiotics} data set: a \code{\link{data.frame}} with 452 observations and 13 variables:} \describe{ \item{\code{ab}}{Antibiotic ID as used in this package (like \code{AMC}), using the official EARS-Net (European Antimicrobial Resistance Surveillance Network) codes where available} \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC, like \code{J01CR02}} @@ -19,6 +20,19 @@ \item{\code{oral_units}}{Units of \code{oral_ddd}} \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} \item{\code{iv_units}}{Units of \code{iv_ddd}} +} + +\strong{For the \code{antivirals} data set: a \code{\link{data.frame}} with 102 observations and 9 variables:} +\describe{ + \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC} + \item{\code{cid}}{Compound ID as found in PubChem} + \item{\code{name}}{Official name as used by WHONET/EARS-Net or the WHO} + \item{\code{atc_group}}{Official pharmacological subgroup (3rd level ATC code) as defined by the WHOCC} + \item{\code{synonyms}}{Synonyms (often trade names) of a drug, as found in PubChem based on their compound ID} + \item{\code{oral_ddd}}{Defined Daily Dose (DDD), oral treatment} + \item{\code{oral_units}}{Units of \code{oral_ddd}} + \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} + \item{\code{iv_units}}{Units of \code{iv_ddd}} }} \source{ World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology (WHOCC): \url{https://www.whocc.no/atc_ddd_index/} @@ -29,12 +43,14 @@ European Commission Public Health PHARMACEUTICALS - COMMUNITY REGISTER: \url{htt } \usage{ antibiotics + +antivirals } \description{ -A data set containing all antibiotics. Use \code{\link{as.ab}} or one of the \code{\link{ab_property}} functions to retrieve values from this data set. Three identifiers are included in this data set: an antibiotic ID (\code{ab}, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (\code{atc}) as defined by the WHO, and a Compound ID (\code{cid}) as found in PubChem. Other properties in this data set are derived from one or more of these codes. +Two data sets containing all antibiotics/antimycotics and antivirals. Use \code{\link{as.ab}} or one of the \code{\link{ab_property}} functions to retrieve values from the \code{antibiotics} data set. Three identifiers are included in this data set: an antibiotic ID (\code{ab}, primarily used in this package) as defined by WHONET/EARS-Net, an ATC code (\code{atc}) as defined by the WHO, and a Compound ID (\code{cid}) as found in PubChem. Other properties in this data set are derived from one or more of these codes. } \details{ -Properties that are based on an ATC code are only available when an ATC is available. These properties are: \code{atc_group1}, \code{atc_group2}, \code{oral_ddd}, \code{oral_units}, \code{iv_ddd} and \code{iv_units} +Properties that are based on an ATC code are only available when an ATC is available. These properties are: \code{atc_group1}, \code{atc_group2}, \code{oral_ddd}, \code{oral_units}, \code{iv_ddd} and \code{iv_units}. Synonyms (i.e. trade names) are derived from the Compound ID (\code{cid}) and consequently only available where a CID is available. } @@ -56,6 +72,6 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https:// } \seealso{ -\code{\link{antivirals}} \code{\link{microorganisms}} +\code{\link{microorganisms}} } \keyword{datasets} diff --git a/man/antivirals.Rd b/man/antivirals.Rd deleted file mode 100644 index a3306fd8..00000000 --- a/man/antivirals.Rd +++ /dev/null @@ -1,46 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{antivirals} -\alias{antivirals} -\title{Data set with ~100 antivirals} -\format{A \code{\link{data.frame}} with 102 observations and 7 variables: -\describe{ - \item{\code{atc}}{ATC code (Anatomical Therapeutic Chemical) as defined by the WHOCC} - \item{\code{name}}{Official name as used by WHONET/EARS-Net or the WHO} - \item{\code{atc_group}}{Official pharmacological subgroup (3rd level ATC code) as defined by the WHOCC} - \item{\code{oral_ddd}}{Defined Daily Dose (DDD), oral treatment} - \item{\code{oral_units}}{Units of \code{oral_ddd}} - \item{\code{iv_ddd}}{Defined Daily Dose (DDD), parenteral treatment} - \item{\code{iv_units}}{Units of \code{iv_ddd}} -}} -\source{ -World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology (WHOCC): \url{https://www.whocc.no/atc_ddd_index/} -} -\usage{ -antivirals -} -\description{ -A data set containing all antivirals, according to the ATC code group 'J05' (Antivirals for systemic use). -} -\section{WHOCC}{ - -\if{html}{\figure{logo_who.png}{options: height=60px style=margin-bottom:5px} \cr} -This package contains \strong{all ~550 antibiotic, antimycotic and antiviral drugs} and their Anatomical Therapeutic Chemical (ATC) codes, ATC groups and Defined Daily Dose (DDD) from the World Health Organization Collaborating Centre for Drug Statistics Methodology (WHOCC, \url{https://www.whocc.no}) and the Pharmaceuticals Community Register of the European Commission (\url{http://ec.europa.eu/health/documents/community-register/html/atc.htm}). - -These have become the gold standard for international drug utilisation monitoring and research. - -The WHOCC is located in Oslo at the Norwegian Institute of Public Health and funded by the Norwegian government. The European Commission is the executive of the European Union and promotes its general interest. - -\strong{NOTE: The WHOCC copyright does not allow use for commercial purposes, unlike any other info from this package. See \url{https://www.whocc.no/copyright_disclaimer/}.} -} - -\section{Read more on our website!}{ - -On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://msberends.gitlab.io/AMR/articles/AMR.html}{a tutorial} about how to conduct AMR analysis, the \href{https://msberends.gitlab.io/AMR/reference}{complete documentation of all functions} (which reads a lot easier than here in R) and \href{https://msberends.gitlab.io/AMR/articles/WHONET.html}{an example analysis using WHONET data}. -} - -\seealso{ -\code{\link{antibiotics}} \code{\link{microorganisms}} -} -\keyword{datasets} diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 2c97a9df..ae63a9a9 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -41,6 +41,11 @@ width: 19%; min-width: 125px; } +.countries_map { + float: left; + padding: 0 10px 10px 0; + max-width: 25%; +} @media only screen and (max-width: 992px) { .footer_logo { float: left; diff --git a/pkgdown/logos/countries.png b/pkgdown/logos/countries.png new file mode 100644 index 00000000..df8e944e Binary files /dev/null and b/pkgdown/logos/countries.png differ