mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 02:03:04 +02:00
mo codes for WHONET
This commit is contained in:
@ -248,7 +248,11 @@ mo_gramstain <- function(x, language = get_locale(), ...) {
|
||||
#' @rdname mo_property
|
||||
#' @export
|
||||
mo_TSN <- function(x, ...) {
|
||||
mo_validate(x = x, property = "tsn", ...)
|
||||
res <- mo_validate(x = x, property = "tsn", ...)
|
||||
if (any(is.na(res))) {
|
||||
warning("Some results do not have a TSN, because they are missing from ITIS and were added manually. See ?microorganisms.")
|
||||
}
|
||||
res
|
||||
}
|
||||
|
||||
#' @rdname mo_property
|
||||
|
Reference in New Issue
Block a user