1
0
mirror of https://github.com/msberends/AMR.git synced 2025-12-14 01:10:28 +01:00

(v2.1.1.9123) add EFF code to antibiotics data set

This commit is contained in:
2025-01-15 16:14:09 +01:00
parent 2e31ec19c3
commit 08ddbaa930
32 changed files with 522 additions and 461 deletions

View File

@@ -760,6 +760,20 @@ antibiotics <- antibiotics %>%
))
antibiotics[which(antibiotics$ab %in% c("CYC", "LNZ", "THA", "TZD")), "group"] <- "Oxazolidinones"
# add efflux
effl <- antibiotics |>
filter(ab == "ACM") |>
mutate(ab = as.character("EFF"),
cid = NA_real_,
name = "Efflux",
group = "Other")
antibiotics <- antibiotics |>
mutate(ab = as.character(ab)) |>
bind_rows(effl)
class(antibiotics$ab) <- c("ab", "character")
antibiotics[which(antibiotics$ab == "EFF"), "abbreviations"][[1]] <- list(c("effflux pump"))
# add clindamycin inducible screening
clin <- antibiotics |>
filter(ab == "FOX1") |>