From d31b599825c12a76c4a6428a8500877812392033 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Nov 2022 21:16:02 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9046@af205e2 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 506 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 38753 -> 38667 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 56586 -> 51139 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 28121 -> 28295 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 36482 -> 37478 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 38220 -> 38374 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 51195 -> 52211 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43094 -> 43163 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28434 -> 28452 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78048 -> 78096 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49887 -> 49932 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 56 +- articles/PCA.html | 2 +- articles/SPSS.html | 4 +- articles/WHONET.html | 2 +- articles/datasets.html | 20 +- articles/index.html | 2 +- articles/resistance_predict.html | 2 +- articles/welcome_to_AMR.html | 2 +- authors.html | 2 +- extra.js | 1 + index.html | 2 +- news/index.html | 12 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13162 -> 13183 bytes reference/Rplot006.png | Bin 12691 -> 12715 bytes reference/Rplot007.png | Bin 14713 -> 13520 bytes reference/Rplot008.png | Bin 17949 -> 17966 bytes reference/Rplot009.png | Bin 8935 -> 8635 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/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.disk.html | 2 +- reference/as.mic.html | 2 +- reference/as.mo.html | 2 +- reference/as.rsi.html | 22 +- reference/atc_online.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 | 6 +- 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 26167 -> 27271 bytes reference/plot-2.png | Bin 26502 -> 26493 bytes reference/plot-3.png | Bin 28760 -> 28043 bytes reference/plot-4.png | Bin 38028 -> 39063 bytes reference/plot-5.png | Bin 38170 -> 38184 bytes reference/plot-6.png | Bin 36882 -> 36893 bytes reference/plot-7.png | Bin 38883 -> 38025 bytes reference/plot-8.png | Bin 54423 -> 54773 bytes reference/plot-9.png | Bin 26637 -> 26329 bytes reference/plot.html | 2 +- reference/proportion.html | 2 +- reference/random.html | 33 +- reference/resistance_predict.html | 2 +- reference/rsi_translation.html | 2 +- reference/skewness.html | 4 +- reference/translate.html | 2 +- search.json | 2 +- 95 files changed, 509 insertions(+), 506 deletions(-) diff --git a/404.html b/404.html index 72d8e7e2..73a38475 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9045 + 1.8.2.9046
+generated on 10 November 2022.So only 53.3% is suitable for resistance analysis! We can now filter
on it with the filter()
function, also from the
@@ -629,7 +629,7 @@ on it with the data_1st <- data %>%
filter_first_isolate()
# Including isolates from ICU.
-
So we end up with 10,650 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)
data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 10,650
-Available: 10,650 (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.544507
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1149,19 +1149,19 @@ own:Hospital A -0.5551767 +0.5365469 Hospital B -0.5362818 +0.5426068 Hospital C -0.5477707 +0.5511222 @@ -1186,23 +1186,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5404235 +0.5450684 Hospital A -0.5551767 -3226 +0.5365469 +3174 Hospital B -0.5362818 -3776 +0.5426068 +3767 Hospital C -0.5477707 -1570 +0.5511222 +1604 @@ -1227,27 +1227,27 @@ therapies very easily: Hospital D -0.5404235 -2078 +0.5450684 +2119 Escherichia -0.7651839 -0.8695466 -0.9773311 +0.7646931 +0.8805031 +0.9750596 Klebsiella -0.8198971 -0.8987993 -0.9785592 +0.8040816 +0.8938776 +0.9779592 Staphylococcus -0.7897832 -0.8765160 -0.9816244 +0.7997010 +0.8875187 +0.9824365 @@ -1275,23 +1275,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5433637 +0.5473978 0.0000000 -0.5433637 +0.5473978 - Hospital A -55.5% -26.2% -- -Hospital B -53.6% -26.6% -- Hospital C -54.8% +53.7% 25.7% + +Hospital B +54.3% +27.0% ++ +Hospital C +55.1% +27.6% +@@ -1407,16 +1407,18 @@ classes) Hospital D -54.0% -27.8% +54.5% +26.4% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 16 64 0.0625 4 0.025 256 0.005 128 64 0.5 -# [11] 1 64 0.25 4 0.5 0.25 0.25 0.25 4 0.002 -# [21] 256 1 0.125 64 0.01 1 0.002 0.002 32 0.005 -# [31] 4 0.025 128 0.01 0.0625 0.25 0.0625 0.125 2 0.125 -# [41] 0.005 8 0.005 8 4 0.025 128 0.25 16 1 -# [51] 0.005 16 0.005 0.002 1 0.125 0.125 128 0.0625 0.125 -# [61] 0.025 0.002 256 0.01 0.25 0.002 0.002 0.002 0.005 256 -# [71] 0.0625 0.125 0.25 0.001 0.0625 4 0.025 64 0.01 8 -# [81] 0.25 32 0.005 0.005 0.001 128 128 8 256 0.0625 -# [91] 0.005 64 0.5 0.005 2 1 0.01 4 0.5 8
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 20 25 21 31 30 18 20 19 29 26 26 18 21 29 19 17 17 25 17 26 29 27 23 22 29
-# [26] 30 22 29 18 30 20 20 25 17 25 29 17 23 24 23 28 27 29 29 27 17 30 27 22 30
-# [51] 19 29 31 29 28 31 22 20 25 18 29 22 19 19 17 19 28 28 26 20 30 31 26 30 17
-# [76] 24 17 21 26 23 29 22 18 19 28 24 24 18 23 24 22 31 23 31 17 30 26 18 19 17
+# [1] 29 17 24 23 25 21 17 17 25 27 20 28 25 24 27 31 24 26 22 17 30 31 28 17 31
+# [26] 17 31 30 26 27 27 25 26 20 27 26 22 23 27 25 25 29 17 23 21 28 25 19 27 26
+# [51] 17 22 30 31 17 18 29 31 30 25 17 18 27 18 26 28 19 30 30 18 26 31 19 29 23
+# [76] 27 17 23 19 21 29 17 24 19 31 22 21 28 18 20 24 30 26 28 20 23 17 30 19 22
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
K^|3_OWp jX$-s#NE3PsbkeMLarJ+d`^m(OYYp6ow (VJ6q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