mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:50:48 +01:00
revert back to pre-antibiogram
This commit is contained in:
1 parent
aa48c6bf53
commit
1a0dc4bf46
53 files changed
+984
-1996
No files matched your search
@@ -127,7 +127,7 @@ pca <- function(x,
|
||||
x <- cbind(x.bak[, vapply(FUN.VALUE = logical(1), x.bak, function(y) !is.numeric(y) & !all(is.na(y))), drop = FALSE], x)
|
||||
}
|
||||
|
||||
x <- ungroup(x) # would otherwise select the grouping vars
|
||||
x <- pm_ungroup(x) # would otherwise select the grouping vars
|
||||
x <- x[rowSums(is.na(x)) == 0, ] # remove columns containing NAs
|
||||
|
||||
pca_data <- x[, which(vapply(FUN.VALUE = logical(1), x, function(x) is.numeric(x))), drop = FALSE]
|
||||
|
||||
Reference in new issue
Block a user