mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
use dplyr where available, new antibiogram() for WISCA, fixed Salmonella Typhi/Paratyphi
This commit is contained in:
1 parent
4b133d4c96
commit
9e99e66f01
69 files changed
+1670
-650
No files matched your search
@@ -137,7 +137,7 @@ mean_amr_distance.data.frame <- function(x, ..., combine_SI = TRUE) {
|
||||
if (!is.null(out)) {
|
||||
df <- df[, out, drop = FALSE]
|
||||
} else {
|
||||
df <- pm_select(df, ...)
|
||||
df <- select(df, ...)
|
||||
}
|
||||
}
|
||||
df_classes <- colnames(df)[vapply(FUN.VALUE = logical(1), df, function(x) is.disk(x) | is.mic(x) | is.disk(x), USE.NAMES = FALSE)]
|
||||
|
||||
Reference in new issue
Block a user