diff --git a/articles/AMR.html b/articles/AMR.html index b2902f34..c5c6714a 100644 --- a/articles/AMR.html +++ b/articles/AMR.html @@ -204,7 +204,7 @@ website update since they are based on randomly created values and the page was written in R Markdown. However, the methodology remains unchanged. This page was -generated on 12 July 2023.

+generated on 13 July 2023.

Introduction

@@ -260,21 +260,21 @@ make the structure of your data generally look like this:

-2023-07-12 +2023-07-13 abcd Escherichia coli S S -2023-07-12 +2023-07-13 abcd Escherichia coli S R -2023-07-12 +2023-07-13 efgh Escherichia coli R diff --git a/articles/MDR.html b/articles/MDR.html index 8ec7eb8d..18bde32e 100644 --- a/articles/MDR.html +++ b/articles/MDR.html @@ -402,19 +402,19 @@ names or codes, this would have worked exactly the same way:

 head(my_TB_data)
 #>   rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-#> 1          S         R            S          I            R            R
-#> 2          S         R            I          I            S            S
-#> 3          R         S            R          S            R            I
-#> 4          S         I            I          S            S            R
-#> 5          S         I            I          I            R            R
-#> 6          I         S            S          R            I            S
+#> 1          R         I            R          S            R            S
+#> 2          R         S            I          S            S            S
+#> 3          R         R            I          R            I            R
+#> 4          I         S            I          R            R            I
+#> 5          R         I            R          I            R            S
+#> 6          I         I            I          I            S            I
 #>   kanamycin
-#> 1         I
+#> 1         S
 #> 2         I
-#> 3         I
+#> 3         S
 #> 4         I
-#> 5         I
-#> 6         R
+#> 5 S +#> 6 I

We can now add the interpretation of MDR-TB to our data set. You can use:

@@ -455,40 +455,40 @@ Unique: 5

1 Mono-resistant -3194 -63.88% -3194 -63.88% +3216 +64.32% +3216 +64.32% 2 Negative -1012 -20.24% -4206 -84.12% +988 +19.76% +4204 +84.08% 3 Multi-drug-resistant -448 -8.96% -4654 -93.08% +464 +9.28% +4668 +93.36% 4 Poly-resistant -247 -4.94% -4901 -98.02% +235 +4.70% +4903 +98.06% 5 Extensively drug-resistant -99 -1.98% +97 +1.94% 5000 100.00% diff --git a/articles/PCA.html b/articles/PCA.html index eaf5c25a..e5507906 100644 --- a/articles/PCA.html +++ b/articles/PCA.html @@ -307,7 +307,7 @@ function:

#> [1] "Caryophanales" "Enterobacterales" "Lactobacillales" "Pseudomonadales" #> Importance of components: #> PC1 PC2 PC3 PC4 PC5 PC6 PC7 -#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 9.577e-17 +#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 1.232e-16 #> Proportion of Variance 0.5799 0.3531 0.0471 0.01435 0.00541 0.00012 0.000e+00 #> Cumulative Proportion 0.5799 0.9330 0.9801 0.99446 0.99988 1.00000 1.000e+00
#> Groups (n=4, named as 'order'):
diff --git a/articles/datasets.html b/articles/datasets.html
index ffc92daa..3d463876 100644
--- a/articles/datasets.html
+++ b/articles/datasets.html
@@ -193,7 +193,7 @@