mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
Built site for AMR@2.1.1.9112: 61f2890
This commit is contained in:
1 parent
8a7fcc217d
commit
95b6c9295f
7 files changed
+29
-29
No files matched your search
+4
-4
@@ -87,7 +87,7 @@
|
||||
website update since they are based on randomly created values and the
|
||||
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
||||
Markdown</a>. However, the methodology remains unchanged. This page was
|
||||
generated on 07 December 2024.</p>
|
||||
generated on 09 December 2024.</p>
|
||||
<div class="section level2">
|
||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||
</h2>
|
||||
@@ -143,21 +143,21 @@ make the structure of your data generally look like this:</p>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr class="odd">
|
||||
<td align="center">2024-12-07</td>
|
||||
<td align="center">2024-12-09</td>
|
||||
<td align="center">abcd</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">S</td>
|
||||
<td align="center">S</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="center">2024-12-07</td>
|
||||
<td align="center">2024-12-09</td>
|
||||
<td align="center">abcd</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">S</td>
|
||||
<td align="center">R</td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="center">2024-12-07</td>
|
||||
<td align="center">2024-12-09</td>
|
||||
<td align="center">efgh</td>
|
||||
<td align="center">Escherichia coli</td>
|
||||
<td align="center">R</td>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
||||
|
||||
<h4 data-toc-skip class="date">07 December 2024</h4>
|
||||
<h4 data-toc-skip class="date">09 December 2024</h4>
|
||||
|
||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/main/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
||||
<div class="d-none name"><code>datasets.Rmd</code></div>
|
||||
|
||||
@@ -67,8 +67,8 @@ $(document).ready(function() {
|
||||
// add doctoral titles to authors
|
||||
function doct_tit(x) {
|
||||
if (typeof(x) != "undefined") {
|
||||
x = x.replace(/Author, maintainer/g, "Principal maintainer");
|
||||
x = x.replace(/Author, contributor/g, "Contributing maintainer");
|
||||
x = x.replace(/Author, maintainer/g, "Principal developer");
|
||||
x = x.replace(/Author, contributor/g, "Package maintainer");
|
||||
x = x.replace(/Thesis advisor/g, "(former) Doctoral advisor");
|
||||
// contributors
|
||||
x = x.replace("Alex", "Prof. Alex");
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ articles:
|
||||
resistance_predict: resistance_predict.html
|
||||
welcome_to_AMR: welcome_to_AMR.html
|
||||
WHONET: WHONET.html
|
||||
last_built: 2024-12-07T19:08Z
|
||||
last_built: 2024-12-09T09:33Z
|
||||
urls:
|
||||
reference: https://msberends.github.io/AMR/reference
|
||||
article: https://msberends.github.io/AMR/articles
|
||||
+10
-10
@@ -110,16 +110,16 @@
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="va">df</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1965-12-05 59 59.00546 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1980-03-01 44 44.76776 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1949-11-01 75 75.09836 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1947-02-14 77 77.81148 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1940-02-19 84 84.79781 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1988-01-10 36 36.90710 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1997-08-27 27 27.27869 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1978-01-26 46 46.86339 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1972-06-17 52 52.47268 27</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1986-08-10 38 38.32514 13</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1965-12-05 59 59.01093 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1980-03-01 44 44.77322 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1949-11-01 75 75.10383 50</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1947-02-14 77 77.81694 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1940-02-19 84 84.80328 59</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1988-01-10 36 36.91257 11</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1997-08-27 27 27.28415 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1978-01-26 46 46.86885 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1972-06-17 52 52.47814 27</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1986-08-10 38 38.33060 13</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
|
||||
+10
-10
@@ -785,16 +785,16 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 57 × 16</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_given mo_given host_given ab mo </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">*</span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2024-12-07 <span style="color: #949494;">19:09:30</span> 4 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2024-12-07 <span style="color: #949494;">19:09:38</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2024-12-07 <span style="color: #949494;">19:09:38</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2024-12-07 <span style="color: #949494;">19:09:39</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2024-12-07 <span style="color: #949494;">19:09:39</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2024-12-07 <span style="color: #949494;">19:09:30</span> 3 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2024-12-07 <span style="color: #949494;">19:09:38</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2024-12-07 <span style="color: #949494;">19:09:38</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2024-12-07 <span style="color: #949494;">19:09:39</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2024-12-07 <span style="color: #949494;">19:09:39</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2024-12-09 <span style="color: #949494;">09:34:39</span> 4 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2024-12-09 <span style="color: #949494;">09:34:46</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2024-12-09 <span style="color: #949494;">09:34:46</span> 4 genta Escheri… human GEN B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2024-12-09 <span style="color: #949494;">09:34:47</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2024-12-09 <span style="color: #949494;">09:34:47</span> 4 genta Escheri… cattle GEN B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2024-12-09 <span style="color: #949494;">09:34:39</span> 3 AMX B_STRPT… human AMX B_STRPT_PNMN </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2024-12-09 <span style="color: #949494;">09:34:46</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2024-12-09 <span style="color: #949494;">09:34:46</span> 3 tobra Escheri… human TOB B_[ORD]_ENTRBCTR</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2024-12-09 <span style="color: #949494;">09:34:47</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2024-12-09 <span style="color: #949494;">09:34:47</span> 3 tobra Escheri… horses TOB B_ESCHR_COLI </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 47 more rows</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 9 more variables: host <chr>, method <chr>, input <dbl>, outcome <sir>,</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,</span></span>
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
[{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"How to conduct AMR data analysis","text":"Conducting AMR data analysis unfortunately requires -depth knowledge different scientific fields, makes hard right. least, requires: Good questions (always start !) reliable data thorough understanding (clinical) epidemiology, understand clinical epidemiological relevance possible bias results thorough understanding (clinical) microbiology/infectious diseases, understand microorganisms causal infections implications pharmaceutical treatment, well understanding intrinsic acquired microbial resistance Experience data analysis microbiological tests results, understand determination limitations MIC values interpretations SIR values Availability biological taxonomy microorganisms probably normalisation factors pharmaceuticals, defined daily doses (DDD) Available (inter-)national guidelines, profound methods apply course, instantly provide knowledge experience. AMR package, aimed providing (1) tools simplify antimicrobial resistance data cleaning, transformation analysis, (2) methods easily incorporate international guidelines (3) scientifically reliable reference data, including requirements mentioned . AMR package enables standardised reproducible AMR data analysis, application evidence-based rules, determination first isolates, translation various codes microorganisms antimicrobial agents, determination (multi-drug) resistant microorganisms, calculation antimicrobial resistance, prevalence future trends.","code":""},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"preparation","dir":"Articles","previous_headings":"","what":"Preparation","title":"How to conduct AMR data analysis","text":"tutorial, create fake demonstration data work . can skip Cleaning data already data ready. start analysis, try make structure data generally look like :","code":""},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"needed-r-packages","dir":"Articles","previous_headings":"Preparation","what":"Needed R packages","title":"How to conduct AMR data analysis","text":"many uses R, need additional packages AMR data analysis. package works closely together tidyverse packages dplyr ggplot2 RStudio. tidyverse tremendously improves way conduct data science - allows natural way writing syntaxes creating beautiful plots R. also use cleaner package, can used cleaning data creating frequency tables. AMR package contains data set example_isolates_unclean, might look data users extracted laboratory systems: AMR data analysis, like microorganism column contain valid, --date taxonomy, antibiotic columns cleaned SIR values well.","code":"library(dplyr) library(ggplot2) library(AMR) # (if not yet installed, install with:) # install.packages(c(\"dplyr\", \"ggplot2\", \"AMR\")) example_isolates_unclean #> # A tibble: 3,000 × 8 #> patient_id hospital date bacteria AMX AMC CIP GEN #> <chr> <chr> <date> <chr> <chr> <chr> <chr> <chr> #> 1 J3 A 2012-11-21 E. coli R I S S #> 2 R7 A 2018-04-03 K. pneumoniae R I S S #> 3 P3 A 2014-09-19 E. coli R S S S #> 4 P10 A 2015-12-10 E. coli S I S S #> 5 B7 A 2015-03-02 E. coli S S S S #> 6 W3 A 2018-03-31 S. aureus R S R S #> 7 J8 A 2016-06-14 E. coli R S S S #> 8 M3 A 2015-10-25 E. coli R S S S #> 9 J3 A 2019-06-19 E. coli S S S S #> 10 G6 A 2015-04-27 S. aureus S S S S #> # ℹ 2,990 more rows # we will use 'our_data' as the data set name for this tutorial our_data <- example_isolates_unclean"},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"taxonomy-of-microorganisms","dir":"Articles","previous_headings":"Preparation","what":"Taxonomy of microorganisms","title":"How to conduct AMR data analysis","text":".mo(), users can transform arbitrary microorganism names codes current taxonomy. AMR package contains --date taxonomic data. specific, currently included data retrieved 24 Jun 2024. codes AMR packages come .mo() short, still human readable. importantly, .mo() supports kinds input: first character codes denote taxonomic kingdom, Bacteria (B), Fungi (F), Protozoa (P). AMR package also contain functions directly retrieve taxonomic properties, name, genus, species, family, order, even Gram-stain. start mo_ use .mo() internally, still arbitrary user input can used: Now can thus clean data: Apparently, uncertainty translation taxonomic codes. Let’s check : ’s good.","code":"as.mo(\"Klebsiella pneumoniae\") #> Class 'mo' #> [1] B_KLBSL_PNMN as.mo(\"K. pneumoniae\") #> ClLine truncated
|
||||
[{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"How to conduct AMR data analysis","text":"Conducting AMR data analysis unfortunately requires -depth knowledge different scientific fields, makes hard right. least, requires: Good questions (always start !) reliable data thorough understanding (clinical) epidemiology, understand clinical epidemiological relevance possible bias results thorough understanding (clinical) microbiology/infectious diseases, understand microorganisms causal infections implications pharmaceutical treatment, well understanding intrinsic acquired microbial resistance Experience data analysis microbiological tests results, understand determination limitations MIC values interpretations SIR values Availability biological taxonomy microorganisms probably normalisation factors pharmaceuticals, defined daily doses (DDD) Available (inter-)national guidelines, profound methods apply course, instantly provide knowledge experience. AMR package, aimed providing (1) tools simplify antimicrobial resistance data cleaning, transformation analysis, (2) methods easily incorporate international guidelines (3) scientifically reliable reference data, including requirements mentioned . AMR package enables standardised reproducible AMR data analysis, application evidence-based rules, determination first isolates, translation various codes microorganisms antimicrobial agents, determination (multi-drug) resistant microorganisms, calculation antimicrobial resistance, prevalence future trends.","code":""},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"preparation","dir":"Articles","previous_headings":"","what":"Preparation","title":"How to conduct AMR data analysis","text":"tutorial, create fake demonstration data work . can skip Cleaning data already data ready. start analysis, try make structure data generally look like :","code":""},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"needed-r-packages","dir":"Articles","previous_headings":"Preparation","what":"Needed R packages","title":"How to conduct AMR data analysis","text":"many uses R, need additional packages AMR data analysis. package works closely together tidyverse packages dplyr ggplot2 RStudio. tidyverse tremendously improves way conduct data science - allows natural way writing syntaxes creating beautiful plots R. also use cleaner package, can used cleaning data creating frequency tables. AMR package contains data set example_isolates_unclean, might look data users extracted laboratory systems: AMR data analysis, like microorganism column contain valid, --date taxonomy, antibiotic columns cleaned SIR values well.","code":"library(dplyr) library(ggplot2) library(AMR) # (if not yet installed, install with:) # install.packages(c(\"dplyr\", \"ggplot2\", \"AMR\")) example_isolates_unclean #> # A tibble: 3,000 × 8 #> patient_id hospital date bacteria AMX AMC CIP GEN #> <chr> <chr> <date> <chr> <chr> <chr> <chr> <chr> #> 1 J3 A 2012-11-21 E. coli R I S S #> 2 R7 A 2018-04-03 K. pneumoniae R I S S #> 3 P3 A 2014-09-19 E. coli R S S S #> 4 P10 A 2015-12-10 E. coli S I S S #> 5 B7 A 2015-03-02 E. coli S S S S #> 6 W3 A 2018-03-31 S. aureus R S R S #> 7 J8 A 2016-06-14 E. coli R S S S #> 8 M3 A 2015-10-25 E. coli R S S S #> 9 J3 A 2019-06-19 E. coli S S S S #> 10 G6 A 2015-04-27 S. aureus S S S S #> # ℹ 2,990 more rows # we will use 'our_data' as the data set name for this tutorial our_data <- example_isolates_unclean"},{"path":"https://msberends.github.io/AMR/articles/AMR.html","id":"taxonomy-of-microorganisms","dir":"Articles","previous_headings":"Preparation","what":"Taxonomy of microorganisms","title":"How to conduct AMR data analysis","text":".mo(), users can transform arbitrary microorganism names codes current taxonomy. AMR package contains --date taxonomic data. specific, currently included data retrieved 24 Jun 2024. codes AMR packages come .mo() short, still human readable. importantly, .mo() supports kinds input: first character codes denote taxonomic kingdom, Bacteria (B), Fungi (F), Protozoa (P). AMR package also contain functions directly retrieve taxonomic properties, name, genus, species, family, order, even Gram-stain. start mo_ use .mo() internally, still arbitrary user input can used: Now can thus clean data: Apparently, uncertainty translation taxonomic codes. Let’s check : ’s good.","code":"as.mo(\"Klebsiella pneumoniae\") #> Class 'mo' #> [1] B_KLBSL_PNMN as.mo(\"K. pneumoniae\") #> ClLine truncated
|
||||
Reference in new issue
Block a user