mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 08:11:58 +02:00
eucast update
This commit is contained in:
@ -198,11 +198,10 @@ first_isolate <- function(tbl,
|
||||
check_columns_existance(col_keyantibiotics)
|
||||
|
||||
if (!is.null(col_mo)) {
|
||||
if (!tbl %>% pull(col_mo) %>% is.mo()) {
|
||||
tbl[, col_mo] <- as.mo(tbl[, col_mo])
|
||||
}
|
||||
# join to microorganisms data set
|
||||
tbl <- tbl %>% left_join_microorganisms(by = col_mo)
|
||||
tbl <- tbl %>%
|
||||
mutate_at(vars(col_mo), as.mo) %>%
|
||||
left_join_microorganisms(by = col_mo)
|
||||
col_genus <- "genus"
|
||||
col_species <- "species"
|
||||
}
|
||||
|
Reference in New Issue
Block a user