mirror of
https://github.com/msberends/AMR.git
synced 2025-01-30 23:44:39 +01:00
fix note
This commit is contained in:
parent
8a92c5a869
commit
f60bb6aa2d
@ -165,7 +165,7 @@ add_custom_antimicrobials <- function(x) {
|
|||||||
#' @export
|
#' @export
|
||||||
clear_custom_antimicrobials <- function() {
|
clear_custom_antimicrobials <- function() {
|
||||||
n <- nrow(AMR_env$AB_lookup)
|
n <- nrow(AMR_env$AB_lookup)
|
||||||
AMR_env$AB_lookup <- create_AB_lookup()
|
AMR_env$AB_lookup <- cbind(AMR::antibiotics, AB_LOOKUP)
|
||||||
n2 <- nrow(AMR_env$AB_lookup)
|
n2 <- nrow(AMR_env$AB_lookup)
|
||||||
AMR_env$custom_ab_codes <- character(0)
|
AMR_env$custom_ab_codes <- character(0)
|
||||||
AMR_env$ab_previously_coerced <- AMR_env$ab_previously_coerced[which(AMR_env$ab_previously_coerced$ab %in% AMR_env$AB_lookup$ab), , drop = FALSE]
|
AMR_env$ab_previously_coerced <- AMR_env$ab_previously_coerced[which(AMR_env$ab_previously_coerced$ab %in% AMR_env$AB_lookup$ab), , drop = FALSE]
|
||||||
|
Loading…
Reference in New Issue
Block a user