mirror of
https://github.com/msberends/AMR.git
synced 2025-07-13 02:32:07 +02:00
Replace RSI with SIR
This commit is contained in:
committed by
GitHub
parent
24b12024ce
commit
98e62c9af2
@ -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 \%>\%
|
||||
|
Reference in New Issue
Block a user