Replace RSI with SIR

This commit is contained in:
Dr. Matthijs Berends authored and GitHub committed 2023-01-21 23:47:20 +01:00
1 parent 24b12024ce
commit 98e62c9af2
127 files changed
+1746 -1648

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ if (require("dplyr")) {
genus = mo_genus(mo)
) \%>\% # and genus as we do here;
filter(n() >= 30) \%>\% # filter on only 30 results per group
summarise_if(is.rsi, resistance) # then get resistance of all drugs
summarise_if(is.sir, resistance) # then get resistance of all drugs
# now conduct PCA for certain antimicrobial drugs
pca_result <- resistance_data \%>\%