2018-12-30 08:40:40 +01:00
# ==================================================================== #
# TITLE #
2022-10-05 09:12:22 +02:00
# AMR: An R Package for Working with Antimicrobial Resistance Data #
2018-12-30 08:40:40 +01:00
# #
2019-01-02 23:24:07 +01:00
# SOURCE #
2020-07-08 14:48:06 +02:00
# https://github.com/msberends/AMR #
2018-12-30 08:40:40 +01:00
# #
2022-10-05 09:12:22 +02:00
# CITE AS #
# Berends MS, Luz CF, Friedrich AW, Sinha BNM, Albers CJ, Glasner C #
# (2022). AMR: An R Package for Working with Antimicrobial Resistance #
# Data. Journal of Statistical Software, 104(3), 1-31. #
# doi:10.18637/jss.v104.i03 #
# #
2020-10-08 11:16:03 +02:00
# Developed at the University of Groningen, the Netherlands, in #
# collaboration with non-profit organisations Certe Medical #
# Diagnostics & Advice, and University Medical Center Groningen. #
2018-12-30 08:40:40 +01:00
# #
2019-01-02 23:24:07 +01:00
# This R package is free software; you can freely use and distribute #
# it for both personal and commercial purposes under the terms of the #
# GNU General Public License version 2.0 (GNU GPL-2), as published by #
# the Free Software Foundation. #
2020-01-05 17:22:09 +01:00
# We created this package for both routine data analysis and academic #
# research and it was publicly released in the hope that it will be #
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
2020-10-08 11:16:03 +02:00
# #
# Visit our website for the full manual and a complete tutorial about #
2021-02-02 23:57:35 +01:00
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
2018-12-30 08:40:40 +01:00
# ==================================================================== #
2019-06-09 08:57:54 +02:00
title : "AMR (for R)"
2020-10-08 11:16:03 +02:00
url : "https://msberends.github.io/AMR/"
2019-06-09 08:57:54 +02:00
2022-08-21 16:37:20 +02:00
template :
bootstrap : 5
bootswatch : "flatly"
assets : "pkgdown/logos" # use logos in this folder
bslib :
code_font : {google : "Fira Code" }
2022-08-25 19:11:02 +02:00
# body-text-align: "justify"
2022-08-21 17:22:34 +02:00
line-height-base : 1.75
2022-08-21 16:37:20 +02:00
# the green "success" colour of this bootstrap theme should be the same as the green in our logo
success : "#128f76"
link-color : "#128f76"
navbar-padding-y : "0.5rem"
opengraph :
twitter :
creator : "@msberends"
card : summary_large_image
2019-06-09 08:57:54 +02:00
2019-05-31 20:25:57 +02:00
news :
one_page : true
2021-07-23 21:42:11 +02:00
cran_dates : true
2022-08-25 19:11:02 +02:00
2022-08-21 16:37:20 +02:00
footer :
2022-08-25 19:11:02 +02:00
structure :
2022-08-21 16:37:20 +02:00
left : [ devtext]
right : [ logo]
components :
devtext : '<code>AMR</code> (for R). Developed at the <a target="_blank" href="https://www.rug.nl">University of Groningen</a> in collaboration with non-profit organisations<br><a target="_blank" href="https://www.certe.nl">Certe Medical Diagnostics and Advice Foundation</a> and <a target="_blank" href="https://www.umcg.nl">University Medical Center Groningen</a>.'
2022-10-05 09:12:22 +02:00
logo : '<a target="_blank" href="https://www.rug.nl"><img src="https://github.com/msberends/AMR/raw/main/pkgdown/logos/logo_rug.svg" style="max-width: 150px;"></a>'
2022-08-21 16:37:20 +02:00
home :
sidebar :
structure : [ toc, links, authors, citation]
2018-12-29 22:24:19 +01:00
navbar :
2019-06-09 08:57:54 +02:00
title : "AMR (for R)"
2018-12-29 22:24:19 +01:00
left :
2019-06-09 08:57:54 +02:00
- text : "Home"
icon : "fa-home"
href : "index.html"
- text : "How to"
icon : "fa-question-circle"
2019-01-02 23:24:07 +01:00
menu :
2019-06-09 08:57:54 +02:00
- text : "Conduct AMR analysis"
icon : "fa-directions"
href : "articles/AMR.html"
- text : "Predict antimicrobial resistance"
icon : "fa-dice"
href : "articles/resistance_predict.html"
2020-09-03 12:31:48 +02:00
- text : "Data sets for download / own use"
2020-08-16 21:38:42 +02:00
icon : "fa-database"
href : "articles/datasets.html"
2020-03-07 21:48:21 +01:00
- text : "Conduct principal component analysis for AMR"
icon : "fa-compress"
href : "articles/PCA.html"
2019-06-09 08:57:54 +02:00
- text : "Determine multi-drug resistance (MDR)"
icon : "fa-skull-crossbones"
href : "articles/MDR.html"
- text : "Work with WHONET data"
icon : "fa-globe-americas"
href : "articles/WHONET.html"
- text : "Import data from SPSS/SAS/Stata"
icon : "fa-file-upload"
href : "articles/SPSS.html"
- text : "Apply EUCAST rules"
icon : "fa-exchange-alt"
href : "articles/EUCAST.html"
- text : "Get properties of a microorganism"
icon : "fa-bug"
2020-09-03 12:31:48 +02:00
href : "reference/mo_property.html" # reference instead of an article
2019-06-09 08:57:54 +02:00
- text : "Get properties of an antibiotic"
icon : "fa-capsules"
2020-09-03 12:31:48 +02:00
href : "reference/ab_property.html" # reference instead of an article
2022-08-25 19:11:02 +02:00
# - text: "Other: benchmarks"
# icon: "fa-shipping-fast"
# href: "articles/benchmarks.html"
2019-06-09 08:57:54 +02:00
- text : "Manual"
icon : "fa-book-open"
2020-07-28 18:39:57 +02:00
href : "reference/index.html"
2019-06-09 08:57:54 +02:00
- text : "Authors"
icon : "fa-users"
href : "authors.html"
- text : "Changelog"
icon : "far fa-newspaper"
2020-07-28 18:39:57 +02:00
href : "news/index.html"
2019-01-02 23:24:07 +01:00
right :
2019-06-09 08:57:54 +02:00
- text : "Source Code"
2020-07-08 14:48:06 +02:00
icon : "fab fa-github"
href : "https://github.com/msberends/AMR"
2021-08-18 23:19:38 +02:00
# - text: "Survey"
# icon: "fa-clipboard-list"
# href: "survey.html"
2018-12-29 22:24:19 +01:00
reference :
2020-09-03 12:31:48 +02:00
- title : "Preparing data: microorganisms"
desc : >
These functions are meant to get taxonomically valid properties of microorganisms from any input.
Use `mo_source()` to teach this package how to translate your own codes to valid microorganism codes.
contents :
- "`as.mo`"
- "`mo_property`"
2019-11-18 12:10:47 +01:00
- "`mo_source`"
2022-08-25 19:11:02 +02:00
2020-09-03 12:31:48 +02:00
- title : "Preparing data: antibiotics"
2019-01-21 15:53:01 +01:00
desc : >
2020-09-03 12:31:48 +02:00
Use these functions to get valid properties of antibiotics from any input or to clean your input.
You can even retrieve drug names and doses from clinical text records, using `ab_from_text()`.
2019-01-21 15:53:01 +01:00
contents :
2020-09-03 12:31:48 +02:00
- "`as.ab`"
2019-11-18 12:10:47 +01:00
- "`ab_property`"
2020-09-03 12:31:48 +02:00
- "`ab_from_text`"
2019-11-18 12:10:47 +01:00
- "`atc_online_property`"
2022-08-25 19:11:02 +02:00
2020-09-03 12:31:48 +02:00
- title : "Preparing data: antimicrobial resistance"
2019-01-21 15:53:01 +01:00
desc : >
2020-09-03 12:31:48 +02:00
With `as.mic()` and `as.disk()` you can transform your raw input to valid MIC or disk diffusion values.
Use `as.rsi()` for cleaning raw data to let it only contain "R", "I" and "S", or to interpret MIC or disk diffusion values as R/SI based on the lastest EUCAST and CLSI guidelines.
2020-10-08 11:16:03 +02:00
Afterwards, you can extend antibiotic interpretations by applying [EUCAST rules](https://www.eucast.org/expert_rules_and_intrinsic_resistance/) with `eucast_rules()`.
2020-09-03 12:31:48 +02:00
contents :
- "`as.rsi`"
- "`as.mic`"
- "`as.disk`"
- "`eucast_rules`"
2021-04-07 08:37:42 +02:00
- "`custom_eucast_rules`"
2022-08-25 19:11:02 +02:00
2020-09-03 12:31:48 +02:00
- title : "Analysing data: antimicrobial resistance"
desc : >
Use these function for the analysis part. You can use `susceptibility()` or `resistance()` on any antibiotic column.
2020-11-23 21:50:27 +01:00
Be sure to first select the isolates that are appropiate for analysis, by using `first_isolate()` or `is_new_episode()`.
2021-05-19 22:55:42 +02:00
You can also filter your data on certain resistance in certain antibiotic classes (`carbapenems()`, `aminoglycosides()`), or determine multi-drug resistant microorganisms (MDRO, `mdro()`).
2019-01-21 15:53:01 +01:00
contents :
2020-03-07 21:48:21 +01:00
- "`proportion`"
- "`count`"
2020-11-23 21:50:27 +01:00
- "`is_new_episode`"
2020-09-03 12:31:48 +02:00
- "`first_isolate`"
2021-04-26 23:57:37 +02:00
- "`key_antimicrobials`"
2020-09-03 12:31:48 +02:00
- "`mdro`"
- "`count`"
2021-03-04 23:28:32 +01:00
- "`plot`"
2020-09-03 12:31:48 +02:00
- "`ggplot_rsi`"
2019-08-26 16:02:03 +02:00
- "`bug_drug_combinations`"
2020-06-17 01:39:30 +02:00
- "`antibiotic_class_selectors`"
2022-08-30 22:17:14 +02:00
- "`mean_amr_distance`"
2020-09-03 12:31:48 +02:00
- "`resistance_predict`"
- "`guess_ab_col`"
2021-08-18 23:19:38 +02:00
- title : "Background information on included data"
desc : >
Some pages about our package and its external sources. Be sure to read our [How To's](./../articles/index.html)
for more information about how to work with functions in this package.
contents :
- "`AMR`"
- "`example_isolates`"
- "`microorganisms`"
- "`microorganisms.codes`"
- "`antibiotics`"
- "`intrinsic_resistant`"
- "`dosage`"
- "`catalogue_of_life`"
- "`catalogue_of_life_version`"
- "`WHOCC`"
- "`example_isolates_unclean`"
- "`rsi_translation`"
- "`WHONET`"
2022-08-25 19:11:02 +02:00
2020-09-03 12:31:48 +02:00
- title : "Other: miscellaneous functions"
2019-01-21 15:53:01 +01:00
desc : >
These functions are mostly for internal use, but some of
them may also be suitable for your analysis. Especially the
'like' function can be useful : `if (x %like% y) {...}`.
contents :
2020-09-03 12:31:48 +02:00
- "`age_groups`"
- "`age`"
- "`availability`"
2021-12-12 09:42:03 +01:00
- "`get_AMR_locale`"
2020-09-03 12:31:48 +02:00
- "`ggplot_pca`"
2021-05-03 13:06:43 +02:00
- "`italicise_taxonomy`"
2020-09-18 16:05:53 +02:00
- "`join`"
- "`like`"
2020-09-19 12:57:51 +02:00
- "`mo_matching_score`"
2020-09-18 16:05:53 +02:00
- "`pca`"
2020-12-12 23:17:29 +01:00
- "`random`"
2022-08-25 19:11:02 +02:00
2020-09-03 12:31:48 +02:00
- title : "Other: statistical tests"
desc : >
2020-11-23 21:50:27 +01:00
Some statistical tests or methods are not part of base R and were added to this package for convenience.
2020-09-03 12:31:48 +02:00
contents :
- "`g.test`"
- "`kurtosis`"
- "`skewness`"
2020-11-23 21:50:27 +01:00
- title : "Other: deprecated functions"
desc : >
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.
contents :
- "`AMR-deprecated`"