From d18dc71c1042298e6dc411db0398431286c6c858 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 08:51:13 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9095@24b1202 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 500 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 39313 -> 38112 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 55157 -> 52626 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27999 -> 28087 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 37048 -> 36930 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 37479 -> 38115 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 50811 -> 51096 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43222 -> 43098 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28471 -> 28428 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78152 -> 78092 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49916 -> 49882 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 60 +-- articles/PCA.html | 2 +- articles/SPSS.html | 4 +- articles/WHONET.html | 2 +- articles/datasets.html | 4 +- articles/index.html | 2 +- articles/resistance_predict.html | 2 +- articles/welcome_to_AMR.html | 2 +- authors.html | 2 +- index.html | 2 +- news/index.html | 22 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR-options.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13189 -> 12950 bytes reference/Rplot006.png | Bin 12696 -> 12468 bytes reference/Rplot007.png | Bin 14593 -> 13565 bytes reference/Rplot008.png | Bin 20068 -> 18939 bytes reference/Rplot009.png | Bin 8554 -> 8473 bytes 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/antibiotic_class_selectors.html | 2 +- reference/antibiotics.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.rsi.html | 22 +- 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/count.html | 2 +- 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/first_isolate.html | 2 +- reference/g.test.html | 2 +- reference/get_episode.html | 139 ++--- reference/ggplot_pca.html | 2 +- reference/ggplot_rsi.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 | 6 +- reference/like.html | 2 +- reference/mdro.html | 2 +- reference/mean_amr_distance.html | 94 ++-- reference/microorganisms.codes.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-1.png | Bin 25839 -> 26918 bytes reference/plot-2.png | Bin 27031 -> 26406 bytes reference/plot-3.png | Bin 27773 -> 28303 bytes reference/plot-4.png | Bin 37684 -> 38695 bytes reference/plot-5.png | Bin 38647 -> 38041 bytes reference/plot-6.png | Bin 37402 -> 36843 bytes reference/plot-7.png | Bin 38755 -> 37971 bytes reference/plot-8.png | Bin 58492 -> 56846 bytes reference/plot-9.png | Bin 26129 -> 26162 bytes reference/plot.html | 2 +- reference/proportion.html | 2 +- reference/random.html | 36 +- reference/resistance_predict.html | 2 +- reference/rsi_translation.html | 2 +- reference/skewness.html | 4 +- reference/translate.html | 2 +- search.json | 2 +- 99 files changed, 518 insertions(+), 521 deletions(-) diff --git a/404.html b/404.html index 1ddb96e2..e900b345 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9094 + 1.8.2.9095
+generated on 20 January 2023.So only 52.6% is suitable for resistance analysis! We can now filter +
So only 53.3% is suitable for resistance analysis! We can now filter
on it with the filter()
function, also from the
dplyr
package:
@@ -634,11 +634,11 @@ on it with the data_1st <- data %>%
filter_first_isolate()
# Including isolates from ICU.
So we end up with 10,513 isolates for analysis. Now our data looks +
So we end up with 10,664 isolates for analysis. Now our data looks like:
head(data_1st)
3 | -2016-01-28 | -T4 | -Hospital D | -B_ESCHR_COLI | -R | -R | -R | -S | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -||||
5 | -2017-11-01 | -E5 | +1 | +2015-03-26 | +C9 | Hospital A | B_ESCHR_COLI | R | -R | +S | S | S | M | @@ -704,48 +688,32 @@ like:coli | TRUE | ||
7 | +2017-08-12 | +B4 | +Hospital A | +B_KLBSL_PNMN | +R | +S | +R | +S | +M | +Gram-negative | +Klebsiella | +pneumoniae | +TRUE | +||||
8 | -2011-07-01 | -K2 | -Hospital D | -B_ESCHR_COLI | -I | -S | -R | -R | -M | -Gram-negative | -Escherichia | -coli | -TRUE | -||||
10 | -2010-08-12 | -I2 | -Hospital A | -B_ESCHR_COLI | -S | -S | -S | -S | -M | -Gram-negative | -Escherichia | -coli | -TRUE | -||||
12 | -2011-09-04 | -E2 | +2015-07-29 | +K7 | Hospital D | B_STPHY_AURS | +S | +S | +S | R | -S | -S | -S | M | Gram-positive | Staphylococcus | @@ -753,14 +721,30 @@ like:TRUE |
14 | -2015-05-09 | -F7 | +10 | +2010-02-06 | +N9 | +Hospital A | +B_ESCHR_COLI | +S | +S | +S | +S | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +|
12 | +2017-12-15 | +M8 | Hospital B | B_ESCHR_COLI | -R | S | -R | +S | +S | S | M | Gram-negative | @@ -768,6 +752,22 @@ like:coli | TRUE | |||
15 | +2014-01-10 | +V9 | +Hospital B | +B_STPHY_AURS | +R | +S | +S | +S | +F | +Gram-positive | +Staphylococcus | +aureus | +TRUE | +
Time for the analysis!
@@ -801,8 +801,8 @@ readable:data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 10,513
-Available: 10,513 (100%, NA: 0 = 0%)
+Length: 10,664
+Available: 10,664 (100%, NA: 0 = 0%)
Unique: 4
Shortest: 16
Longest: 24
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.5497955
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1152,19 +1152,19 @@ own:Hospital A -0.5437933 +0.5460547 Hospital B -0.5506739 +0.5252972 Hospital C -0.5457454 +0.5231231 @@ -1189,23 +1189,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5605034 +0.5592912 Hospital A -0.5437933 -3174 +0.5460547 +3181 Hospital B -0.5506739 -3710 +0.5252972 +3617 Hospital C -0.5457454 -1563 +0.5231231 +1665 @@ -1230,27 +1230,27 @@ therapies very easily: Hospital D -0.5605034 -2066 +0.5592912 +2201 Escherichia -0.7650904 -0.8831990 -0.9797341 +0.7663690 +0.8728741 +0.9770408 Klebsiella -0.8296296 -0.9127572 -0.9901235 +0.8375108 +0.9049265 +0.9870354 Staphylococcus -0.8058400 -0.8828214 -0.9821767 +0.7986136 +0.8781467 +0.9788398 @@ -1278,23 +1278,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5342664 +0.5446169 0.0000000 -0.5342664 +0.5446169 Hospital A -54.4% -25.0% +54.6% +26.2% Hospital B -55.1% -25.9% +52.5% +25.7% Hospital C -54.6% -27.3% +52.3% +24.7% @@ -1410,18 +1410,16 @@ classes) Hospital D -56.1% -28.0% +55.9% +27.4% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 64 0.005 16 0.025 2 <=0.001 8 0.0625 0.01 -# [10] 1 0.005 32 0.25 16 4 4 0.002 0.01 -# [19] 0.01 16 <=0.001 0.5 <=0.001 0.005 2 1 64 -# [28] 0.0625 0.125 0.002 0.025 0.25 8 0.025 0.0625 0.5 -# [37] 0.002 256 0.25 1 0.025 64 256 0.125 8 -# [46] 0.01 0.025 32 0.025 0.0625 8 0.5 2 0.5 -# [55] 16 64 32 0.025 64 0.01 0.25 0.002 0.5 -# [64] 128 0.5 0.25 0.005 4 1 <=0.001 256 2 -# [73] 4 256 2 0.005 0.002 4 16 0.002 16 -# [82] 256 0.25 0.025 256 4 0.125 1 <=0.001 0.5 -# [91] 32 4 0.25 0.5 0.002 0.025 0.005 2 1 -# [100] 4
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 31 19 20 30 23 18 21 26 31 22 20 27 23 21 25 29 24 31 27 24 28 30 30 24 25
-# [26] 23 31 20 17 17 25 22 26 17 28 25 27 30 18 17 22 25 19 21 30 23 21 18 18 30
-# [51] 21 20 30 19 24 31 30 23 19 26 28 19 20 27 17 26 26 23 18 27 31 24 20 19 31
-# [76] 17 23 19 19 30 23 25 21 22 25 27 18 27 22 17 23 27 21 22 27 30 31 19 23 27
+# [1] 17 29 22 22 20 26 28 25 21 24 26 31 19 28 26 18 21 24 23 23 31 22 26 31 18
+# [26] 20 29 18 21 29 25 31 23 29 26 24 28 28 23 22 21 18 17 20 21 30 29 27 29 26
+# [51] 31 29 22 29 24 19 26 27 30 23 30 22 30 23 31 26 19 23 29 22 24 28 21 17 17
+# [76] 25 24 30 21 30 17 27 19 19 25 23 26 26 22 25 30 18 24 29 20 29 20 24 25 24
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
mVWM*MhKu;$mMDh