1
0
mirror of https://github.com/msberends/AMR.git synced 2026-03-07 17:31:34 +01:00

(v3.0.1.9026) fix ab_group(NA)

This commit is contained in:
2026-03-06 12:41:27 +01:00
parent 4e3ea95fbd
commit 60e8f2bae6
8 changed files with 41 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mo.R
\docType{data}
\name{as.mo}
\alias{as.mo}
\alias{mo}
@@ -9,6 +10,7 @@
\alias{mo_failures}
\alias{mo_reset_session}
\alias{mo_cleaning_regex}
\alias{NA_mo_}
\title{Transform Arbitrary Input to Valid Microbial Taxonomy}
\usage{
as.mo(x, Becker = FALSE, Lancefield = FALSE,
@@ -31,6 +33,8 @@ mo_failures()
mo_reset_session()
mo_cleaning_regex()
NA_mo_
}
\arguments{
\item{x}{A \link{character} vector or a \link{data.frame} with one or two columns.}
@@ -151,6 +155,8 @@ This is based on:
\item Lancefield RC (1933). \strong{A serological differentiation of human and other groups of hemolytic streptococci.} \emph{J Exp Med.} 57(4): 571-95; \doi{10.1084/jem.57.4.571}
}
}
\code{NA_mo_} is a missing value of the new \code{mo} class, analogous to e.g. base \R's \code{\link[base:NA]{NA_character_}}.
}
\section{Source}{
@@ -260,3 +266,4 @@ mo_is_intrinsic_resistant("ESCCOL", ab = "vanco")
The \code{\link[=mo_property]{mo_*}} functions (such as \code{\link[=mo_genus]{mo_genus()}}, \code{\link[=mo_gramstain]{mo_gramstain()}}) to get properties based on the returned code.
}
\keyword{datasets}