From 84a6877c991c23fc5681c2e8e6c08ee3f235762d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Jan 2023 14:00:57 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9089@1029aa2 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 552 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 39273 -> 38256 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 52572 -> 52729 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27769 -> 27519 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 36317 -> 37655 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 37399 -> 38745 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 47952 -> 49129 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43071 -> 43227 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28468 -> 28394 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78147 -> 78044 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49910 -> 49877 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 56 +- 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 13205 -> 12986 bytes reference/Rplot006.png | Bin 12705 -> 12507 bytes reference/Rplot007.png | Bin 12723 -> 12781 bytes reference/Rplot008.png | Bin 20000 -> 19149 bytes reference/Rplot009.png | Bin 8552 -> 8062 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 | 143 +++-- 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 | 95 +-- reference/microorganisms.codes.html | 2 +- reference/microorganisms.html | 2 +- reference/mo_matching_score.html | 2 +- reference/mo_property.html | 22 +- reference/mo_source.html | 2 +- reference/pca.html | 2 +- reference/plot-1.png | Bin 26328 -> 25902 bytes reference/plot-2.png | Bin 27037 -> 26409 bytes reference/plot-3.png | Bin 28264 -> 27586 bytes reference/plot-4.png | Bin 38164 -> 37846 bytes reference/plot-5.png | Bin 38713 -> 38007 bytes reference/plot-6.png | Bin 37442 -> 36799 bytes reference/plot-7.png | Bin 37012 -> 36993 bytes reference/plot-8.png | Bin 58329 -> 56785 bytes reference/plot-9.png | Bin 26284 -> 24739 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, 553 insertions(+), 552 deletions(-) diff --git a/404.html b/404.html index 956ccb7f..e42e9035 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9088 + 1.8.2.9089
So only 53.8% is suitable for resistance analysis! We can now filter +
So only 52.9% is suitable for resistance analysis! We can now filter
on it with the filter()
function, also from the
dplyr
package:
@@ -634,7 +634,7 @@ on it with the data_1st <- data %>%
filter_first_isolate()
# Including isolates from ICU.
So we end up with 10,750 isolates for analysis. Now our data looks +
So we end up with 10,571 isolates for analysis. Now our data looks like:
head(data_1st)
data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 10,750
-Available: 10,750 (100%, NA: 0 = 0%)
+Length: 10,571
+Available: 10,571 (100%, NA: 0 = 0%)
Unique: 4
Shortest: 16
Longest: 24
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.543814
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1152,19 +1152,19 @@ own:Hospital A -0.5540994 +0.5397836 Hospital B -0.5473965 +0.5503731 Hospital C -0.5031606 +0.5403882 @@ -1189,23 +1189,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5518207 +0.5360577 Hospital A -0.5540994 -3281 +0.5397836 +3142 Hospital B -0.5473965 -3745 +0.5503731 +3752 Hospital C -0.5031606 -1582 +0.5403882 +1597 @@ -1230,27 +1230,27 @@ therapies very easily: Hospital D -0.5518207 -2142 +0.5360577 +2080 Escherichia -0.7671492 -0.8686805 -0.9758758 +0.7722404 +0.8716940 +0.9768306 Klebsiella -0.8237774 -0.9038786 -0.9806071 +0.8239316 +0.9017094 +0.9769231 Staphylococcus -0.7899963 -0.8859875 -0.9834498 +0.8006620 +0.8852519 +0.9764619 @@ -1278,23 +1278,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5303176 +0.5372568 0.0000000 -0.5303176 +0.5372568 Hospital A -55.4% -26.9% +54.0% +26.8% Hospital B -54.7% -27.3% +55.0% +26.8% Hospital C -50.3% -25.5% +54.0% +24.9% @@ -1410,16 +1410,16 @@ classes) Hospital D -55.2% -25.9% +53.6% +24.9% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 8 0.01 0.01 0.025 128 64 2 0.025 0.0625 0.005 -# [11] 0.001 0.0625 1 0.002 0.5 0.25 64 0.025 256 128 -# [21] 0.001 0.005 1 0.125 256 8 0.001 0.25 0.0625 1 -# [31] 4 0.005 0.5 0.0625 0.002 2 0.0625 0.005 0.005 0.25 -# [41] 32 0.01 0.01 2 128 16 0.25 8 4 0.025 -# [51] 32 256 0.0625 128 128 0.001 0.5 0.5 0.125 64 -# [61] 0.25 8 0.0625 0.001 1 2 256 0.005 4 16 -# [71] 0.125 0.002 256 64 0.01 8 0.5 0.5 64 1 -# [81] 0.5 32 4 1 2 0.025 0.0625 0.25 0.005 16 -# [91] 0.0625 0.002 8 0.001 0.125 0.125 128 64 0.125 64
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 26 30 22 29 29 24 23 31 22 19 29 24 22 30 20 18 26 25 18 23 23 25 31 24 25
-# [26] 18 30 22 31 24 22 22 25 22 17 22 24 25 28 19 21 21 21 22 18 31 25 22 25 30
-# [51] 25 31 23 21 17 19 31 23 19 20 28 22 26 25 25 24 20 24 25 19 27 28 21 26 23
-# [76] 17 22 23 30 20 20 18 18 22 19 29 31 18 26 20 28 27 24 27 21 17 25 30 22 22
+# [1] 28 22 28 23 22 31 27 19 23 22 18 17 29 23 28 20 21 31 28 17 22 30 31 24 29
+# [26] 24 23 19 17 21 26 30 26 29 25 23 31 29 20 31 26 26 19 26 22 24 28 28 28 27
+# [51] 28 18 17 19 22 19 25 20 19 17 24 20 26 22 26 18 18 27 24 30 27 24 24 26 30
+# [76] 26 21 22 27 22 24 27 24 28 20 29 17 28 26 20 21 29 18 24 20 22 28 22 29 21
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
C`^EF==4~-33xQM=B1}0A#
zvsB~7oHJHp&0iP4#q}hFwmGh*OF2}h$HwX|Z2R>mN!;DpqVK)G`-+*)5%ha@PgF>#
z7x^Pbc|w*pZoM|_$bZr@c!xTIN*gfPg6N>p$(f_+>1fZ5k mo4&jH?bGwt%3ij!XJ1PD
z5Z40$Oxf{X^egZ=a_}h(-qYXjL*`ta^cw7cZDCMp*Z(E-oW<`EDME^Pkwr5i>Kq%J
zk5QS`?Fc}h+#>ari%qJ7Od7lw9}vnLzdbu1G!5cT8`{jX`!#@{l=FXvT6oipRG~K^
zVH;ow_q_qV+Whe0L#s2efia-x0T9TOUY@w{VS9VKUzyAQ$59rA?Oy?mcf9F%4dO)A
z!?u@`_UTC95U9EL(7mYEU!RZ5m