From b3effa8a4eb7237f5081f226b7b0636f8cbe89ec Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Dec 2022 08:22:11 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9069@e493248 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 580 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 38057 -> 38158 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 52797 -> 52626 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27574 -> 28446 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 41103 -> 35820 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 38109 -> 38608 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 50983 -> 49596 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43152 -> 43234 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28455 -> 28450 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78123 -> 78081 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49900 -> 49880 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 | 4 +- news/index.html | 37 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13188 -> 12995 bytes reference/Rplot006.png | Bin 12709 -> 12512 bytes reference/Rplot007.png | Bin 14804 -> 12912 bytes reference/Rplot008.png | Bin 18035 -> 19185 bytes reference/Rplot009.png | Bin 8036 -> 8666 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.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 | 133 ++-- 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 26151 -> 26205 bytes reference/plot-2.png | Bin 26510 -> 26360 bytes reference/plot-3.png | Bin 28026 -> 28423 bytes reference/plot-4.png | Bin 38003 -> 38110 bytes reference/plot-5.png | Bin 38188 -> 38032 bytes reference/plot-6.png | Bin 36903 -> 36823 bytes reference/plot-7.png | Bin 39428 -> 37581 bytes reference/plot-8.png | Bin 54601 -> 56904 bytes reference/plot-9.png | Bin 24690 -> 26451 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 +- 97 files changed, 558 insertions(+), 552 deletions(-) diff --git a/404.html b/404.html index 2d28c1bc..e412b414 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9068 + 1.8.2.9069
+generated on 21 December 2022.Now, let’s start the cleaning and the analysis!
@@ -499,16 +499,16 @@ Longest: 1So only 53% is suitable for resistance analysis! We can now filter on
-it with the filter()
function, also from the
+
So only 52.8% is suitable for resistance analysis! We can now filter
+on it with the filter()
function, also from the
dplyr
package:
data_1st <- data %>%
@@ -634,7 +634,7 @@ it with the data_1st <- data %>%
filter_first_isolate()
# Including isolates from ICU.
So we end up with 10,607 isolates for analysis. Now our data looks +
So we end up with 10,556 isolates for analysis. Now our data looks like:
head(data_1st)
data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 10,607
-Available: 10,607 (100%, NA: 0 = 0%)
+Length: 10,556
+Available: 10,556 (100%, NA: 0 = 0%)
Unique: 4
Shortest: 16
Longest: 24
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.5453946
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1152,19 +1152,19 @@ own:Hospital A -0.5539478 +0.5429724 Hospital B -0.5484475 +0.5454295 Hospital C -0.5440806 +0.5458488 @@ -1189,23 +1189,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5280418 +0.5428845 Hospital A -0.5539478 -3179 +0.5429724 +3223 Hospital B -0.5484475 -3736 +0.5454295 +3632 Hospital C -0.5440806 -1588 +0.5458488 +1614 @@ -1230,27 +1230,27 @@ therapies very easily: Hospital D -0.5280418 -2104 +0.5428845 +2087 Escherichia -0.7746142 -0.8772006 -0.9780483 +0.7735184 +0.8766248 +0.9806125 Klebsiella -0.8227425 -0.8963211 -0.9790970 +0.8250853 +0.9052901 +0.9880546 Staphylococcus -0.7789356 -0.9036100 -0.9810197 +0.7991924 +0.8883994 +0.9801762 @@ -1278,23 +1278,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5336788 +0.5299387 0.0000000 -0.5336788 +0.5299387 Hospital A -55.4% -27.0% +54.3% +25.1% Hospital B -54.8% -26.5% +54.5% +26.6% Hospital C -54.4% -26.2% +54.6% +26.7% @@ -1410,16 +1410,18 @@ classes) Hospital D -52.8% -27.1% +54.3% +27.4% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 8 16 16 0.01 8 0.01 0.001 0.01 0.125 32 -# [11] 2 4 0.002 0.002 0.002 16 0.0625 0.005 0.005 8 -# [21] 0.001 64 2 0.125 16 >=256 0.005 0.001 4 0.005 -# [31] 2 0.005 2 32 2 4 16 1 0.01 0.025 -# [41] 0.0625 0.01 8 128 0.25 0.01 0.01 128 0.0625 0.25 -# [51] 2 8 0.0625 32 0.01 32 32 0.01 8 0.002 -# [61] 0.25 4 2 0.25 16 64 4 >=256 64 64 -# [71] 64 32 32 0.25 >=256 0.125 0.01 0.0625 128 4 -# [81] 0.01 0.25 0.001 2 16 0.002 0.01 0.002 >=256 0.025 -# [91] 8 >=256 16 0.002 2 0.125 0.0625 0.002 >=256 0.025
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 17 22 17 18 28 30 30 31 20 20 17 23 18 30 27 28 18 27 25 25 25 25 17 19 20
-# [26] 24 19 25 20 23 30 25 23 18 20 23 24 29 19 27 29 21 17 21 25 25 17 29 24 20
-# [51] 24 20 17 30 23 22 25 17 17 21 19 20 27 29 26 25 22 21 29 31 19 21 29 24 29
-# [76] 31 24 22 20 22 28 18 28 28 17 20 23 31 19 23 26 31 19 30 29 17 26 28 29 30
+# [1] 19 18 19 27 29 19 23 21 19 20 17 24 29 25 24 29 19 21 25 21 23 27 28 28 25
+# [26] 31 31 26 27 26 29 29 20 25 31 22 25 25 18 29 17 22 21 26 23 24 18 17 28 21
+# [51] 26 19 28 22 20 26 24 19 24 23 31 27 23 24 25 20 30 25 25 22 30 28 22 29 26
+# [76] 28 26 25 28 27 30 21 19 22 25 30 29 28 31 30 21 26 20 31 28 26 17 19 26 22
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")