From 62f3d2945532690cf64cc8ccd2ae2f1ca8919c3a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Feb 2023 15:57:18 +0000 Subject: [PATCH] Built site for AMR: 1.8.2.9115@03294c7 --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/AMR.html | 602 +++++++++--------- .../AMR_files/figure-html/disk_plots-1.png | Bin 38670 -> 38165 bytes .../figure-html/disk_plots_mo_ab-1.png | Bin 56586 -> 52705 bytes .../AMR_files/figure-html/mic_plots-1.png | Bin 28703 -> 28015 bytes .../AMR_files/figure-html/mic_plots-2.png | Bin 37405 -> 37024 bytes .../figure-html/mic_plots_mo_ab-1.png | Bin 37357 -> 38412 bytes .../figure-html/mic_plots_mo_ab-2.png | Bin 50064 -> 52173 bytes articles/AMR_files/figure-html/plot 1-1.png | Bin 41836 -> 42253 bytes articles/AMR_files/figure-html/plot 3-1.png | Bin 28495 -> 28460 bytes articles/AMR_files/figure-html/plot 4-1.png | Bin 78258 -> 78305 bytes articles/AMR_files/figure-html/plot 5-1.png | Bin 49927 -> 49914 bytes articles/EUCAST.html | 2 +- articles/MDR.html | 58 +- 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 | 26 +- pkgdown.yml | 2 +- reference/AMR-deprecated.html | 2 +- reference/AMR-options.html | 2 +- reference/AMR.html | 2 +- reference/Rplot005.png | Bin 13185 -> 13121 bytes reference/Rplot006.png | Bin 12827 -> 12793 bytes reference/Rplot007.png | Bin 14596 -> 13478 bytes reference/Rplot008.png | Bin 20041 -> 17921 bytes reference/Rplot009.png | Bin 8595 -> 8480 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 | 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.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 | 93 ++- reference/ggplot_pca.html | 2 +- reference/ggplot_sir.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 | 73 +-- reference/microorganisms.codes.html | 2 +- reference/microorganisms.html | 2 +- reference/mo_matching_score.html | 2 +- reference/mo_property.html | 5 +- reference/mo_source.html | 2 +- reference/pca.html | 2 +- reference/plot-1.png | Bin 25814 -> 27265 bytes reference/plot-2.png | Bin 27052 -> 26541 bytes reference/plot-3.png | Bin 27745 -> 28116 bytes reference/plot-4.png | Bin 37652 -> 39067 bytes reference/plot-5.png | Bin 38705 -> 38170 bytes reference/plot-6.png | Bin 37908 -> 37389 bytes reference/plot-7.png | Bin 38762 -> 38373 bytes reference/plot-8.png | Bin 58540 -> 54629 bytes reference/plot-9.png | Bin 26437 -> 26146 bytes reference/plot.html | 2 +- reference/proportion.html | 2 +- reference/random.html | 35 +- reference/resistance_predict.html | 2 +- reference/skewness.html | 4 +- reference/translate.html | 2 +- search.json | 2 +- 100 files changed, 538 insertions(+), 538 deletions(-) diff --git a/404.html b/404.html index 1c952b6c..1d0c683f 100644 --- a/404.html +++ b/404.html @@ -36,7 +36,7 @@ AMR (for R) - 1.8.2.9114 + 1.8.2.9115
So only 61.8% is suitable for resistance analysis! We can now filter +
So only 61.5% 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 360 isolates for analysis. Now our data looks +
So we end up with 12 291 isolates for analysis. Now our data looks like:
head(data_1st)
1 | -2013-06-16 | -R2 | +4 | +2016-09-29 | +O10 | +Hospital B | +B_ESCHR_COLI | +R | +I | +S | +I | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +|||||
5 | +2015-11-01 | +M1 | +Hospital B | +B_ESCHR_COLI | +S | +S | +S | +I | +M | +Gram-negative | +Escherichia | +coli | +TRUE | +||||||||
9 | +2011-03-28 | +W6 | Hospital C | +B_ESCHR_COLI | +R | +R | +R | +R | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +||||||||
12 | +2016-01-01 | +J2 | +Hospital B | B_KLBSL_PNMN | R | I | -R | S | -F | +I | +M | Gram-negative | Klebsiella | pneumoniae | TRUE | ||||||
2 | -2014-07-04 | -Z4 | -Hospital A | -B_STRPT_PNMN | -I | -I | -S | -R | -F | -Gram-positive | -Streptococcus | -pneumoniae | -TRUE | -||||||||
6 | -2014-10-21 | -Y1 | -Hospital B | -B_ESCHR_COLI | -S | -S | -I | -R | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -||||||||
7 | -2017-08-18 | -E9 | -Hospital B | -B_STPHY_AURS | -S | -S | -S | -R | -M | -Gram-positive | -Staphylococcus | -aureus | -TRUE | -||||||||
8 | -2017-10-08 | -P4 | -Hospital C | -B_ESCHR_COLI | -I | -I | -R | -R | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -||||||||
10 | -2012-08-30 | -C4 | +14 | +2013-09-11 | +C2 | Hospital D | -B_STRPT_PNMN | -R | -R | +B_ESCHR_COLI | S | -R | +S | +S | +I | M | +Gram-negative | +Escherichia | +coli | +TRUE | +|
16 | +2017-06-17 | +W2 | +Hospital B | +B_STRPT_PNMN | +S | +S | +I | +R | +F | Gram-positive | Streptococcus | pneumoniae | @@ -811,8 +811,8 @@ readable:|||||||||
1 | Escherichia coli | -5,976 | -48.35% | -5,976 | -48.35% | +5,932 | +48.26% | +5,932 | +48.26% | ||||||||||||
2 | Staphylococcus aureus | -3,242 | -26.23% | -9,218 | -74.58% | +3,234 | +26.31% | +9,166 | +74.57% | ||||||||||||
3 | Streptococcus pneumoniae | -1,860 | -15.05% | -11,078 | -89.63% | +1,831 | +14.90% | +10,997 | +89.47% | ||||||||||||
4 | Klebsiella pneumoniae | -1,282 | -10.37% | -12,360 | +1,294 | +10.53% | +12,291 | 100.00% | |||||||||||||
2014-07-04 | -Z4 | -Hospital A | -B_STRPT_PNMN | -I | -I | -S | -R | -F | -Gram-positive | -Streptococcus | -pneumoniae | -TRUE | -|||||||||
2014-10-21 | -Y1 | -Hospital B | -B_ESCHR_COLI | -S | -S | -I | -R | -F | -Gram-negative | -Escherichia | -coli | -TRUE | -|||||||||
2017-08-18 | -E9 | -Hospital B | -B_STPHY_AURS | -S | -S | -S | -R | -M | -Gram-positive | -Staphylococcus | -aureus | -TRUE | -|||||||||
2017-10-08 | -P4 | +2011-03-28 | +W6 | Hospital C | B_ESCHR_COLI | +R | +R | +R | +R | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +|||||||
2017-06-17 | +W2 | +Hospital B | +B_STRPT_PNMN | +S | +S | I | -I | +R | +F | +Gram-positive | +Streptococcus | +pneumoniae | +TRUE | +||||||||
2015-08-02 | +T7 | +Hospital B | +B_ESCHR_COLI | +R | +R | +R | +R | +F | +Gram-negative | +Escherichia | +coli | +TRUE | +|||||||||
2012-04-29 | +Q6 | +Hospital D | +B_ESCHR_COLI | +R | +S | R | R | F | @@ -972,13 +972,13 @@ antibiotic class they are in:TRUE | ||||||||||||
2012-08-30 | -C4 | -Hospital D | +2014-12-09 | +E7 | +Hospital B | B_STRPT_PNMN | R | R | -S | +R | R | M | Gram-positive | @@ -987,18 +987,18 @@ antibiotic class they are in:TRUE | |||||||
2012-12-24 | -Q5 | -Hospital D | -B_STPHY_AURS | -R | -R | +2010-08-29 | +N8 | +Hospital B | +B_ESCHR_COLI | +I | +S | I | R | F | -Gram-positive | -Staphylococcus | -aureus | +Gram-negative | +Escherichia | +coli | TRUE | 2 | E. coli | AMC | -2812 | -1160 | -2004 | -5976 | +2766 | +1182 | +1984 | +5932 |
1 | E. coli | AMX | -1563 | -1221 | -3192 | -5976 | +1503 | +1271 | +3158 | +5932 | |||||||||||
3 | E. coli | CIP | -2049 | -1816 | -2111 | -5976 | +2090 | +1798 | +2044 | +5932 | |||||||||||
4 | E. coli | GEN | -2047 | -1864 | -2065 | -5976 | +2053 | +1791 | +2088 | +5932 | |||||||||||
6 | K. pneumoniae | AMC | -555 | -281 | -446 | -1282 | +590 | +264 | +440 | +1294 | |||||||||||
5 | @@ -1072,8 +1072,8 @@ different bug/drug combinations, you can use theAMX | 0 | 0 | -1282 | -1282 | +1294 | +1294 |
proportion_SI()
, equa
own:
data_1st %>% resistance(AMX)
-# [1] 0.5843042
Or can be used in conjunction with group_by()
and
summarise()
, both from the dplyr
package:
@@ -1169,19 +1169,19 @@ own:Hospital A -0.5790487 +0.5758659 Hospital B -0.5752233 +0.5828610 Hospital C -0.5984384 +0.5882029 @@ -1206,23 +1206,23 @@ all isolates available for every group (i.e. values S, I or R): Hospital D -0.5973469 +0.5881384 Hospital A -0.5790487 -3637 +0.5758659 +3638 Hospital B -0.5752233 -4367 +0.5828610 +4411 Hospital C -0.5984384 -1793 +0.5882029 +1814 @@ -1247,27 +1247,27 @@ therapies very easily: Hospital D -0.5973469 -2563 +0.5881384 +2428 Escherichia -0.6646586 -0.6544511 -0.8840361 +0.6655428 +0.6480108 +0.8833446 Klebsiella -0.6521061 -0.6762871 -0.8892356 +0.6599691 +0.6653787 +0.8802164 Staphylococcus -0.6748920 -0.6511413 -0.8834053 +0.6719233 +0.6484230 +0.8862090 @@ -1295,23 +1295,23 @@ classes, use a antibiotic class selector such as Streptococcus -0.4698925 +0.4729656 0.0000000 -0.4698925 +0.4729656 Hospital A -57.9% -36.8% +57.6% +36.5% Hospital B -57.5% -35.8% +58.3% +36.2% Hospital C -59.8% -37.4% +58.8% +36.3% @@ -1427,18 +1427,18 @@ classes) Hospital D -59.7% -35.8% +58.8% +35.7% <mic>
and<disk>
:mic_values <- random_mic(size = 100) mic_values # Class 'mic' -# [1] 0.25 32 0.0625 1 0.125 16 0.0625 16 0.025 -# [10] 0.25 >=256 0.5 1 0.01 >=256 2 0.5 8 -# [19] 64 >=256 1 2 0.005 0.002 0.5 0.01 0.0625 -# [28] 0.125 0.002 0.002 >=256 >=256 0.025 4 1 2 -# [37] 0.01 1 32 128 >=256 <=0.001 0.01 2 0.002 -# [46] 2 4 0.002 0.25 >=256 0.125 0.125 0.25 16 -# [55] 128 0.25 0.0625 8 16 0.002 64 64 >=256 -# [64] 0.5 8 0.5 16 0.002 0.25 <=0.001 >=256 0.002 -# [73] 4 0.005 128 2 8 32 1 1 2 -# [82] 0.025 <=0.001 >=256 0.025 0.5 16 4 2 128 -# [91] 64 0.002 0.002 1 >=256 0.125 0.01 0.01 0.0625 -# [100] 0.0625
# base R:
plot(mic_values)
disk_values <- random_disk(size = 100, mo = "E. coli", ab = "cipro")
disk_values
# Class 'disk'
-# [1] 31 22 24 20 23 20 22 27 19 20 20 23 28 30 23 21 17 17 25 19 21 31 18 31 19
-# [26] 26 28 31 17 21 31 20 30 26 22 24 30 18 31 25 17 29 29 18 26 27 24 21 22 18
-# [51] 17 19 22 27 19 23 24 20 30 30 19 17 31 31 17 25 24 31 22 22 19 27 17 19 19
-# [76] 31 22 22 23 26 29 20 17 29 31 27 30 18 17 31 26 17 27 22 20 19 23 24 28 20
+# [1] 17 30 22 31 20 25 23 17 24 17 30 26 21 20 28 19 28 29 24 17 29 30 31 27 25
+# [26] 29 21 21 18 25 19 25 22 26 28 18 25 19 24 30 23 22 24 22 22 22 18 24 19 19
+# [51] 17 17 28 29 28 24 20 23 25 29 31 21 31 18 18 18 28 22 18 25 29 24 27 29 23
+# [76] 21 31 17 29 30 24 29 21 29 24 17 28 18 19 31 27 25 26 18 27 27 29 28 25 26
# base R:
plot(disk_values, mo = "E. coli", ab = "cipro")
*9C-fr!E1qF2wpH`d(J$*B2LFH>faS)5
z-&il8a3j{Bwh}5@4Y=M^6dI7DDqcVfQ;^btxrKui(jtULteSXn^sJ}5o)3uWE-rv}
zJHe=PNp1@cdHJ9OVXEHO7I&2+LL(
;ndM
z