From f74da6c86a1c2f647bda2efb07bbbdfd35bf3f1c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Nov 2022 11:15:23 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9044@2d90218 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 544 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 38755 -> 38756 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 56559 -> 51181 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27995 -> 28710 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 35661 -> 37455 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 38746 -> 38132 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 49176 -> 51789 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 43135 -> 43107 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28463 -> 28422 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78035 -> 78128 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49904 -> 49929 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 56 +- articles/PCA.html | 2 +- articles/SPSS.html | 2 +- articles/WHONET.html | 2 +- articles/datasets.html | 18 +- articles/index.html | 2 +- articles/resistance_predict.html | 2 +- articles/welcome_to_AMR.html | 2 +- authors.html | 2 +- index.html | 2 +- news/index.html | 12 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13168 -> 13131 bytes reference/Rplot006.png | Bin 12673 -> 12660 bytes reference/Rplot007.png | Bin 14501 -> 14693 bytes reference/Rplot008.png | Bin 19970 -> 17874 bytes reference/Rplot009.png | Bin 8641 -> 8540 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 | 135 +++-- 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 | 6 +- reference/plot-1.png | Bin 25816 -> 26123 bytes reference/plot-2.png | Bin 27058 -> 26544 bytes reference/plot-3.png | Bin 27382 -> 28142 bytes reference/plot-4.png | Bin 37690 -> 37966 bytes reference/plot-5.png | Bin 38666 -> 38196 bytes reference/plot-6.png | Bin 37398 -> 36910 bytes reference/plot-7.png | Bin 38844 -> 39288 bytes reference/plot-8.png | Bin 58457 -> 54769 bytes reference/plot-9.png | Bin 26425 -> 26210 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 +- 94 files changed, 526 insertions(+), 528 deletions(-) diff --git a/404.html b/404.html index d226d48d..5bef2ead 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9043 + 1.8.2.9044
So only 53.5% 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:
@@ -629,25 +629,25 @@ on it with the data_1st <- data %>%
filter_first_isolate()
# Including isolates from ICU.
So we end up with 10,707 isolates for analysis. Now our data looks +
So we end up with 10,720 isolates for analysis. Now our data looks like:
head(data_1st)
3 | -2013-01-04 | -E1 | -Hospital A | -B_STRPT_PNMN | +1 | +2016-09-06 | +Z8 | +Hospital B | +B_ESCHR_COLI | +S | +S | R | -R | -R | -R | -M | -Gram-positive | -Streptococcus | -pneumoniae | +S | +F | +Gram-negative | +Escherichia | +coli | TRUE |
4 | -2011-07-13 | -Y4 | +3 | +2012-04-02 | +O6 | Hospital C | -B_STPHY_AURS | +B_ESCHR_COLI | R | S | S | -R | +S | F | -Gram-positive | -Staphylococcus | -aureus | +Gram-negative | +Escherichia | +coli | TRUE | ||||
6 | -2013-01-16 | -N7 | +2010-02-03 | +Q9 | Hospital A | B_ESCHR_COLI | -S | -S | -S | -S | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -||||||||||
7 | -2013-07-13 | -X9 | -Hospital B | -B_ESCHR_COLI | -S | -S | -S | -S | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -||||||||||||
9 | -2014-01-13 | -L1 | -Hospital B | -B_ESCHR_COLI | R | S | S | S | -M | +F | Gram-negative | Escherichia | coli | @@ -749,13 +717,29 @@ like:||||||||||||
10 | -2017-10-15 | -F1 | -Hospital B | +2010-09-27 | +K3 | +Hospital D | B_ESCHR_COLI | R | +R | S | S | +M | +Gram-negative | +Escherichia | +coli | +TRUE | +|||||||||
12 | +2016-06-26 | +B2 | +Hospital D | +B_ESCHR_COLI | +R | +R | +S | S | M | Gram-negative | @@ -763,6 +747,22 @@ like:coli | TRUE | |||||||||||||
13 | +2013-06-06 | +P10 | +Hospital B | +B_ESCHR_COLI | +R | +R | +S | +R | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +
Time for the analysis!
@@ -796,8 +796,8 @@ readable:data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 10,707
-Available: 10,707 (100%, NA: 0 = 0%)
+Length: 10,720
+Available: 10,720 (100%, NA: 0 = 0%)
Unique: 4
Shortest: 16
Longest: 24
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.5443168
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1149,19 +1149,19 @@ own:Hospital A -0.5446860 +0.5351351 Hospital B -0.5468415 +0.5533618 Hospital C -0.5404884 +0.5506899 @@ -1186,23 +1186,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5420827 +0.5601852 Hospital A -0.5446860 -3312 +0.5351351 +3145 Hospital B -0.5468415 -3736 +0.5533618 +3748 Hospital C -0.5404884 -1556 +0.5506899 +1667 @@ -1227,27 +1227,27 @@ therapies very easily: Hospital D -0.5420827 -2103 +0.5601852 +2160 Escherichia -0.7661138 -0.8721394 -0.9777451 +0.7653461 +0.8761428 +0.9775795 Klebsiella -0.8188841 -0.9072961 -0.9785408 +0.8109656 +0.8993453 +0.9836334 Staphylococcus -0.7898065 -0.8846726 -0.9825149 +0.7864565 +0.8799713 +0.9774274 @@ -1275,23 +1275,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.5538020 +0.5428301 0.0000000 -0.5538020 +0.5428301 Hospital A -54.5% -27.2% +53.5% +25.5% Hospital B -54.7% -26.8% +55.3% +26.7% Hospital C -54.0% -25.1% +55.1% +27.5% @@ -1407,17 +1407,17 @@ classes) Hospital D -54.2% -25.3% +56.0% +28.1% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 0.125 8 2 8 0.0625 16 8 0.01 0.125 -# [10] 0.005 8 64 8 0.002 0.25 0.5 8 0.125 -# [19] 8 <=0.001 0.125 >=256 32 0.025 0.0625 2 4 -# [28] 2 0.125 0.002 16 0.125 4 <=0.001 1 0.125 -# [37] 1 128 16 4 1 16 4 32 <=0.001 -# [46] 2 0.005 0.025 0.005 8 0.25 64 64 8 -# [55] 8 2 2 0.005 4 4 0.5 4 0.01 -# [64] 0.25 0.01 0.0625 128 0.01 0.01 1 4 8 -# [73] >=256 0.002 0.5 0.5 128 0.005 16 4 0.125 -# [82] 8 0.005 0.005 128 0.125 1 0.25 >=256 >=256 -# [91] 0.125 0.25 0.5 0.125 4 32 0.125 0.025 8 +# [1] <=0.001 0.005 16 32 0.002 64 0.125 2 0.005 +# [10] 8 0.002 128 0.025 >=256 1 16 >=256 <=0.001 +# [19] 0.0625 16 0.125 16 4 0.0625 8 64 4 +# [28] >=256 0.025 <=0.001 128 >=256 0.125 0.002 0.125 0.0625 +# [37] 0.005 4 0.5 128 16 0.25 >=256 0.025 >=256 +# [46] 0.5 8 0.01 0.0625 0.125 0.002 2 0.01 1 +# [55] 32 0.002 0.025 0.002 0.025 64 <=0.001 0.25 0.005 +# [64] 0.002 0.005 0.025 128 0.025 8 2 0.5 128 +# [73] 16 0.002 >=256 0.005 2 0.002 0.0625 32 >=256 +# [82] 0.5 128 4 <=0.001 0.0625 16 0.0625 0.01 1 +# [91] 64 >=256 0.125 0.002 0.005 0.002 128 0.025 0.125 # [100] 0.005
# base R:
@@ -1452,10 +1452,10 @@ plotting:
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 31 20 26 28 17 30 25 27 30 18 29 25 25 29 18 27 30 19 21 22 26 23 23 21 20
-# [26] 27 20 17 17 30 26 21 17 30 29 19 25 24 23 17 18 18 18 29 26 30 29 20 19 30
-# [51] 30 27 18 18 23 23 25 23 31 19 30 23 27 21 24 19 26 27 21 29 17 25 29 29 26
-# [76] 22 28 19 28 26 23 22 29 28 18 29 17 19 29 29 17 27 20 23 21 24 27 25 20 30
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
xJ& znK3UcFAiAZVDKpFp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