diff --git a/articles/AMR.html b/articles/AMR.html index 42346131..28a2197f 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 11 July 2023.

+generated on 12 July 2023.

Introduction

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

-2023-07-11 +2023-07-12 abcd Escherichia coli S S -2023-07-11 +2023-07-12 abcd Escherichia coli S R -2023-07-11 +2023-07-12 efgh Escherichia coli R diff --git a/articles/MDR.html b/articles/MDR.html index dd2556fb..372580e2 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         S            I          S            I            I
-#> 2          S         I            R          R            S            S
-#> 3          R         S            I          R            I            I
-#> 4          S         I            I          R            R            R
-#> 5          S         R            I          S            R            R
-#> 6          S         S            I          S            S            I
+#> 1          S         R            R          I            I            R
+#> 2          I         R            R          I            S            I
+#> 3          I         S            I          R            R            I
+#> 4          R         R            I          R            I            S
+#> 5          R         S            I          I            I            S
+#> 6          I         S            I          S            I            R
 #>   kanamycin
-#> 1         I
-#> 2         S
-#> 3         S
-#> 4         I
-#> 5         S
-#> 6         S
+#> 1 S +#> 2 I +#> 3 R +#> 4 R +#> 5 I +#> 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 -3201 -64.02% -3201 -64.02% +3187 +63.74% +3187 +63.74% 2 Negative -976 -19.52% -4177 -83.54% +1017 +20.34% +4204 +84.08% 3 Multi-drug-resistant -477 -9.54% -4654 -93.08% +456 +9.12% +4660 +93.20% 4 Poly-resistant -241 -4.82% -4895 -97.90% +230 +4.60% +4890 +97.80% 5 Extensively drug-resistant -105 -2.10% +110 +2.20% 5000 100.00% diff --git a/articles/PCA.html b/articles/PCA.html index 88b95aae..093a1514 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 3cf3c794..5259fee1 100644
--- a/articles/datasets.html
+++ b/articles/datasets.html
@@ -193,7 +193,7 @@