From d81e09bddd8893190d2cbbaf9b4ffbaad6fa378c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Dec 2022 14:12:34 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9073@61c0bdb --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 458 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 38744 -> 39202 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 56478 -> 51139 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27762 -> 27993 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 35254 -> 37114 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 37472 -> 38916 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 50629 -> 52410 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43118 -> 43045 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28421 -> 28464 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78133 -> 78094 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49871 -> 49810 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 54 +-- articles/PCA.html | 2 +- articles/SPSS.html | 2 +- articles/WHONET.html | 2 +- articles/datasets.html | 2 +- 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.html | 2 +- reference/Rplot005.png | Bin 13172 -> 13247 bytes reference/Rplot006.png | Bin 12698 -> 12748 bytes reference/Rplot007.png | Bin 12597 -> 13730 bytes reference/Rplot008.png | Bin 17942 -> 19977 bytes reference/Rplot009.png | Bin 8523 -> 9353 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 | 8 +- 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 | 131 +++-- 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 | 78 +-- 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 26266 -> 27287 bytes reference/plot-2.png | Bin 26532 -> 27027 bytes reference/plot-3.png | Bin 28190 -> 28359 bytes reference/plot-4.png | Bin 38138 -> 39088 bytes reference/plot-5.png | Bin 38238 -> 38693 bytes reference/plot-6.png | Bin 36950 -> 37436 bytes reference/plot-7.png | Bin 36919 -> 38407 bytes reference/plot-8.png | Bin 54669 -> 58467 bytes reference/plot-9.png | Bin 26199 -> 27616 bytes reference/plot.html | 2 +- reference/proportion.html | 2 +- reference/random.html | 35 +- reference/resistance_predict.html | 2 +- reference/rsi_translation.html | 2 +- reference/skewness.html | 4 +- reference/translate.html | 2 +- search.json | 2 +- 98 files changed, 484 insertions(+), 482 deletions(-) diff --git a/404.html b/404.html index ba306bda..b462c18c 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9072 + 1.8.2.9073
So only 53.8% is suitable for resistance analysis! We can now filter +
So only 53.6% 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,762 isolates for analysis. Now our data looks +
So we end up with 10,714 isolates for analysis. Now our data looks like:
head(data_1st)
1 | -2016-04-11 | -U8 | -Hospital C | +2012-10-08 | +Q3 | +Hospital B | B_ESCHR_COLI | R | -S | +R | S | R | F | @@ -689,16 +689,16 @@ like:TRUE | ||||||||
2 | -2014-05-21 | -A8 | -Hospital C | +3 | +2013-11-07 | +T6 | +Hospital B | B_STPHY_AURS | -R | -R | +S | +S | S | R | -M | +F | Gram-positive | Staphylococcus | aureus | @@ -706,66 +706,66 @@ like:|||
5 | -2016-12-19 | -M10 | -Hospital B | -B_STPHY_AURS | -R | -S | -S | -R | -M | -Gram-positive | -Staphylococcus | -aureus | -TRUE | -|||||||||
7 | -2010-12-19 | -Y10 | +2010-05-23 | +J8 | Hospital A | B_ESCHR_COLI | R | R | S | S | -F | +M | +Gram-negative | +Escherichia | +coli | +TRUE | +||||||
6 | +2016-04-21 | +D5 | +Hospital B | +B_ESCHR_COLI | +S | +S | +S | +S | +M | Gram-negative | Escherichia | coli | TRUE | |||||||||
8 | -2017-06-03 | -V1 | +7 | +2017-06-14 | +J3 | Hospital C | B_STPHY_AURS | +R | S | S | S | -S | -F | +M | Gram-positive | Staphylococcus | aureus | TRUE | ||||
9 | -2012-02-07 | -D7 | +8 | +2010-04-03 | +Z10 | Hospital B | -B_ESCHR_COLI | -R | +B_STRPT_PNMN | +S | S | S | R | -M | -Gram-negative | -Escherichia | -coli | +F | +Gram-positive | +Streptococcus | +pneumoniae | TRUE |
1 | Escherichia coli | -4,670 | -43.39% | -4,670 | -43.39% | +4,648 | +43.38% | +4,648 | +43.38% | |||||||||||||
2 | Staphylococcus aureus | -2,758 | -25.63% | -7,428 | -69.02% | +2,764 | +25.80% | +7,412 | +69.18% | |||||||||||||
3 | Streptococcus pneumoniae | -2,123 | -19.73% | -9,551 | -88.75% | +2,103 | +19.63% | +9,515 | +88.81% | |||||||||||||
4 | Klebsiella pneumoniae | -1,211 | -11.25% | -10,762 | +1,199 | +11.19% | +10,714 | 100.00% | ||||||||||||||
2016-04-11 | -U8 | -Hospital C | +2012-10-08 | +Q3 | +Hospital B | B_ESCHR_COLI | R | -S | +R | S | R | F | @@ -917,54 +917,69 @@ antibiotic class they are in:TRUE | |||||||||
2014-05-21 | -A8 | -Hospital C | +2013-11-07 | +T6 | +Hospital B | B_STPHY_AURS | -R | -R | +S | +S | S | R | -M | +F | Gram-positive | Staphylococcus | aureus | TRUE | ||||
2016-12-19 | -M10 | +2010-04-03 | +Z10 | Hospital B | -B_STPHY_AURS | -R | +B_STRPT_PNMN | +S | S | S | R | -M | +F | Gram-positive | -Staphylococcus | -aureus | +Streptococcus | +pneumoniae | TRUE | |||
2012-02-07 | -D7 | +2013-06-09 | +O7 | Hospital B | -B_ESCHR_COLI | +B_KLBSL_PNMN | R | S | S | R | +F | +Gram-negative | +Klebsiella | +pneumoniae | +TRUE | +|||||||
2017-04-03 | +H8 | +Hospital A | +B_STRPT_PNMN | +S | +S | +S | +R | M | -Gram-negative | -Escherichia | -coli | +Gram-positive | +Streptococcus | +pneumoniae | TRUE | |||||||
2016-10-17 | -P7 | -Hospital B | +||||||||||||||||||||
2010-10-05 | +R6 | +Hospital A | B_STRPT_PNMN | S | S | @@ -976,21 +991,6 @@ antibiotic class they are in:pneumoniae | TRUE | |||||||||||||||
2013-11-11 | -T2 | -Hospital D | -B_STPHY_AURS | -S | -S | -S | -R | -F | -Gram-positive | -Staphylococcus | -aureus | -TRUE | -
If you want to get a quick glance of the number of isolates in @@ -1013,50 +1013,50 @@ different bug/drug combinations, you can use the
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.5426501
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1152,19 +1152,19 @@ own:Hospital A -0.5354760 +0.5537216 Hospital B -0.5500402 +0.5401750 Hospital C -0.5372946 +0.5323097 @@ -1189,23 +1189,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5447796 +0.5546335 Hospital A -0.5354760 -3298 +0.5537216 +3211 Hospital B -0.5500402 -3727 +0.5401750 +3771 Hospital C -0.5372946 -1582 +0.5323097 +1563 @@ -1230,27 +1230,27 @@ therapies very easily: Hospital D -0.5447796 -2155 +0.5546335 +2169 Escherichia -0.7640257 -0.8713062 -0.9781585 +0.7672117 +0.8745697 +0.9776248 Klebsiella -0.8166804 -0.8976053 -0.9785301 +0.8265221 +0.8899083 +0.9799833 Staphylococcus -0.8016679 -0.8836113 -0.9815083 +0.7735166 +0.8932706 +0.9804631 @@ -1278,23 +1278,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5463966 +0.5344746 0.0000000 -0.5463966 +0.5344746 Hospital A -53.5% -25.9% +55.4% +27.3% Hospital B -55.0% -26.5% +54.0% +26.6% Hospital C -53.7% -27.1% +53.2% +26.2% @@ -1410,16 +1410,18 @@ classes) Hospital D -54.5% -26.2% +55.5% +27.9% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 0.025 16 0.001 8 4 >=256 64 0.0625 0.002 0.01 -# [11] 0.002 0.005 8 2 0.0625 32 0.0625 16 0.002 2 -# [21] >=256 4 0.01 0.01 0.005 64 0.125 0.005 0.0625 0.001 -# [31] 0.025 8 32 32 0.025 32 0.25 0.0625 128 0.0625 -# [41] 0.125 1 0.5 1 0.0625 128 0.5 64 32 0.01 -# [51] >=256 4 0.01 32 0.005 4 0.001 128 1 4 -# [61] 1 0.002 0.01 >=256 0.0625 0.0625 0.25 1 1 1 -# [71] 0.01 0.005 0.01 0.0625 16 32 32 0.005 0.01 0.5 -# [81] 128 0.0625 1 0.125 0.125 16 2 0.002 0.001 0.002 -# [91] 0.025 32 32 0.005 0.01 0.0625 0.0625 0.005 16 4
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 19 19 26 23 22 27 29 20 23 27 22 28 26 26 29 24 30 17 27 21 31 30 28 24 31
-# [26] 25 23 19 19 19 21 18 27 31 22 27 30 31 25 30 31 18 20 26 22 19 26 27 24 22
-# [51] 31 18 19 24 18 29 18 25 27 27 18 22 30 29 28 19 26 23 28 31 30 29 20 29 23
-# [76] 29 27 19 27 25 26 29 24 30 21 30 20 31 19 29 18 23 17 19 30 19 20 18 23 31
+# [1] 28 24 19 18 21 30 31 20 21 17 24 27 21 18 28 29 28 19 25 18 18 21 17 18 28
+# [26] 28 27 18 28 20 30 25 17 23 21 18 17 19 19 17 28 26 25 18 31 19 31 23 29 20
+# [51] 29 26 18 18 26 24 23 17 17 25 23 21 23 28 22 22 24 30 18 19 20 24 31 27 27
+# [76] 27 27 26 18 18 30 23 22 26 17 27 19 25 31 30 25 20 18 30 19 20 19 19 22 21
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
etXl6$s&Ky$>AS*2gyre>^b->_J{|1ug0Bu?^~yB-Q!G-y!QfY-2WvU8@w`O
zWpeL`IkmTtw)ffe_W#RH^B!pk-q_WbzL0*De);Ovkb2W{d-OVCi1dtw?es}}Z5q7)
z!`;X?O}~CWGk33<{cM3|Q6hUy!Zs=w`g8k!29XzOe2R+nk*21mFe#V8rK%#!x^&+T
zQS^ms`>x~&3$&-h%%BIUVPj(GS@W+$)2-1S=WJ_g^ae(sT5`ZF+yh_~$p!qpJ|ttY
zy~lSygqN$_zH7A58WW06NK72;sVFciG=o+7EMTen-}QBMV~urnk3~&dfg^Yz&ycl#
zcbmXkzw+(8!=zV-sMKV@^t(3_ZjS`VN0X!ch@+Mi@{qOvxf{;?FY}9Pot=)_9rz@S
zKB8*KfBaCTQ{UVo2}5s$W!ViBSq68p@`OBwQ7J?zYFD{Cu6Bo=OXe@@#*o0sYQIwj
zW|htu!+ay+#;-`8^ws&y=+FkQ+4l32Zqr3g9*VPr9>xX+&m