From 09b3187184a84bf3e00eb90e23b44b78be6a354e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Feb 2023 15:36:44 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9142@e70f2cd --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 546 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 39310 -> 40061 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 52261 -> 57036 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 27863 -> 28294 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 41338 -> 37636 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 38103 -> 38661 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 51602 -> 52415 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 41927 -> 41879 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28460 -> 28447 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78281 -> 78269 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49884 -> 49815 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 56 +- 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 | 2 +- news/index.html | 26 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR-options.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13285 -> 13227 bytes reference/Rplot006.png | Bin 12823 -> 13244 bytes reference/Rplot007.png | Bin 12638 -> 12909 bytes reference/Rplot008.png | Bin 16786 -> 18923 bytes reference/Rplot009.png | Bin 8523 -> 8483 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/antibiogram.html | 39 +- 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-2.png | Bin 32530 -> 33484 bytes reference/as.mic-3.png | Bin 50050 -> 51557 bytes reference/as.mic-4.png | Bin 48036 -> 50242 bytes reference/as.mic-5.png | Bin 48662 -> 51158 bytes reference/as.mic.html | 2 +- reference/as.mo.html | 2 +- reference/as.sir.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/clinical_breakpoints.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 | 115 ++-- reference/ggplot_pca.html | 2 +- reference/ggplot_sir.html | 2 +- reference/guess_ab_col.html | 2 +- reference/index.html | 4 +- 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 | 70 +-- 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 25929 -> 26251 bytes reference/plot-2.png | Bin 27137 -> 26503 bytes reference/plot-3.png | Bin 27781 -> 28142 bytes reference/plot-4.png | Bin 37848 -> 39284 bytes reference/plot-5.png | Bin 38811 -> 39084 bytes reference/plot-6.png | Bin 37572 -> 38241 bytes reference/plot-7.png | Bin 36986 -> 37417 bytes reference/plot-8.png | Bin 53007 -> 56292 bytes reference/plot-9.png | Bin 26122 -> 26160 bytes reference/plot.html | 2 +- reference/proportion.html | 2 +- reference/random.html | 34 +- reference/resistance_predict.html | 2 +- reference/skewness.html | 4 +- reference/translate.html | 2 +- search.json | 2 +- 104 files changed, 534 insertions(+), 542 deletions(-) diff --git a/404.html b/404.html index 708d238e..7d31098e 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9141 + 1.8.2.9142
+generated on 23 February 2023.So only 61.8% is suitable for resistance analysis! We can now filter +
So only 61.3% is suitable for resistance analysis! We can now filter
on it with the filter()
function, also from the
dplyr
package:
So we end up with 12 352 isolates for analysis. Now our data looks +
So we end up with 12 263 isolates for analysis. Now our data looks like:
head(data_1st)
1 | -2017-11-27 | -L9 | -Hospital B | -B_STPHY_AURS | -S | -S | -R | +2014-03-08 | +B5 | +Hospital C | +B_KLBSL_PNMN | R | +S | +I | +S | M | -Gram-positive | -Staphylococcus | -aureus | +Gram-negative | +Klebsiella | +pneumoniae | TRUE |
7 | -2010-03-27 | -Y9 | -Hospital B | +3 | +2014-12-01 | +P7 | +Hospital A | B_ESCHR_COLI | R | R | @@ -712,69 +712,69 @@ like:TRUE | ||||||||||||
8 | -2012-08-01 | -G7 | -Hospital B | -B_STPHY_AURS | -S | +5 | +2010-05-05 | +T6 | +Hospital C | +B_ESCHR_COLI | +R | +I | S | I | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +||||
6 | +2011-10-26 | +B6 | +Hospital D | +B_ESCHR_COLI | +R | +R | +S | R | M | -Gram-positive | -Staphylococcus | -aureus | +Gram-negative | +Escherichia | +coli | +TRUE | +|||||||
7 | +2014-09-23 | +Q2 | +Hospital D | +B_KLBSL_PNMN | +R | +R | +R | +R | +F | +Gram-negative | +Klebsiella | +pneumoniae | TRUE | ||||||||||
10 | -2015-05-06 | -T1 | -Hospital A | -B_STPHY_AURS | -I | -I | -R | -R | -F | -Gram-positive | -Staphylococcus | -aureus | -TRUE | -||||||||||
12 | -2017-02-03 | -I2 | -Hospital A | +2011-08-26 | +P9 | +Hospital B | B_ESCHR_COLI | I | -I | +S | S | I | -M | +F | Gram-negative | Escherichia | coli | TRUE | |||||
14 | -2014-02-20 | -C1 | -Hospital B | -B_STRPT_PNMN | -R | -R | -R | -R | -M | -Gram-positive | -Streptococcus | -pneumoniae | -TRUE | -
Time for the analysis!
@@ -808,8 +808,8 @@ readable:data_1st %>% freq(genus, species)
Frequency table
Class: character
-Length: 12,352
-Available: 12,352 (100%, NA: 0 = 0%)
+Length: 12,263
+Available: 12,263 (100%, NA: 0 = 0%)
Unique: 4
Shortest: 16
Longest: 24
If you want to get a quick glance of the number of isolates in @@ -1020,50 +1020,50 @@ different bug/drug combinations, you can use the
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-#> [1] 0.5845207
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1159,19 +1159,19 @@ own:Hospital A -0.5857797 +0.5897998 Hospital B -0.5846154 +0.5851407 Hospital C -0.5920836 +0.5656620 @@ -1196,23 +1196,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5768763 +0.5919967 Hospital A -0.5857797 -3713 +0.5897998 +3647 Hospital B -0.5846154 -4355 +0.5851407 +4334 Hospital C -0.5920836 -1819 +0.5656620 +1858 @@ -1237,27 +1237,27 @@ therapies very easily: Hospital D -0.5768763 -2465 +0.5919967 +2424 Escherichia -0.6661088 -0.6510460 -0.8816736 +0.6784922 +0.6477912 +0.8882824 Klebsiella -0.6430769 -0.6546154 -0.8792308 +0.6192661 +0.6605505 +0.8631498 Staphylococcus -0.6634496 -0.6534869 -0.8826276 +0.6616869 +0.6657330 +0.8882664 @@ -1285,23 +1285,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.4734584 +0.4827036 0.0000000 -0.4734584 +0.4827036 Hospital A -58.6% -37.9% +59.0% +36.9% Hospital B 58.5% -34.9% +35.8% Hospital C -59.2% -38.1% +56.6% +34.6% @@ -1417,18 +1417,18 @@ classes) Hospital D -57.7% -36.7% +59.2% +37.3% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values #> Class 'mic' -#> [1] 4 0.002 16 1 0.125 <=0.001 64 0.5 2 -#> [10] <=0.001 0.0625 1 2 0.5 0.01 0.002 0.0625 >=256 -#> [19] >=256 0.5 <=0.001 8 64 0.025 0.005 0.025 >=256 -#> [28] 128 0.125 0.125 0.25 64 32 128 0.01 0.0625 -#> [37] 64 0.5 >=256 0.025 0.0625 >=256 0.25 0.0625 8 -#> [46] <=0.001 16 0.125 <=0.001 <=0.001 <=0.001 <=0.001 2 0.5 -#> [55] 0.005 <=0.001 >=256 0.0625 2 0.0625 0.025 64 <=0.001 -#> [64] 0.025 128 0.25 2 64 128 >=256 0.025 2 -#> [73] 0.005 0.5 <=0.001 4 16 1 <=0.001 0.005 0.125 -#> [82] 0.005 1 0.125 32 32 0.25 8 16 0.025 -#> [91] 0.005 0.005 0.002 0.005 128 0.5 0.002 32 4 -#> [100] 8
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
#> Class 'disk'
-#> [1] 21 17 22 25 18 19 27 23 26 29 23 21 31 23 18 23 19 21 28 24 22 19 19 28 17
-#> [26] 18 29 29 21 26 25 29 17 26 31 28 22 17 31 28 21 21 30 25 20 30 27 19 21 18
-#> [51] 23 18 27 23 18 19 24 27 21 20 25 27 18 17 23 23 31 23 22 26 20 29 28 21 26
-#> [76] 17 18 18 19 19 17 21 20 18 25 21 23 28 25 18 18 28 18 27 18 22 23 18 19 24
+#> [1] 28 24 26 18 22 19 28 20 30 27 21 31 21 17 18 30 27 23 20 24 29 29 24 30 26
+#> [26] 21 19 18 25 26 17 17 18 28 26 27 21 21 25 20 18 31 27 21 25 19 22 25 27 20
+#> [51] 31 19 28 28 24 24 31 30 29 30 27 21 22 28 30 22 28 31 31 29 20 31 27 19 28
+#> [76] 25 22 20 28 22 23 26 24 23 27 20 31 19 22 30 27 24 17 27 17 29 23 17 29 26
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
4!BCmEi@J)EoWkiiY&Bz0l2QkjXWJzi_=fz-cIrL0UJzf+(P
zczCd*rB=Nh^(hR)@&Rm4q62I
zmdeB${{~pHw-J#zPg~x5PNb(D58O=Tq9AHdzv;=R*oIDz2)=Eny>mqQsAY~JD551h
zUf*b9bI!sRzrMX)1TC}F+6~ByoyNCz@qL*5F
z&qPtaBzH(wDVUBLN906!n&fs=-Q#AyPwAP(nGx=JNBro*&%$3a>-y>)*8D@R7tmrT
zOAEfrYs!R#(a0a}3_(ig*X0DxafX1Y7r0rbT^2}*D@4@W_fZ?p<1}9pl|-!^;PZJa
zuY-=qpTL_#)=Un|3e!M_c3D~EZvk3LCT8Y2(?$~SY|jU?Uah+hAb$)?mVmf4opx06
z9#p_Zc
1m#0T)BM6HpRU;w}d%?(?3