mo_glims | R Documentation |
This function is analogous to all mo_*
functions of the AMR package, see AMR::mo_property()
.
mo_glims(
x,
language = AMR::get_AMR_locale(),
keep_synonyms = getOption("AMR_keep_synonyms", FALSE),
...
)
x |
any character (vector) that can be coerced to a valid microorganism code with |
language |
language to translate text like "no growth", which defaults to the system language (see |
keep_synonyms |
a logical to indicate if old, previously valid taxonomic names must be preserved and not be corrected to currently accepted names. The default is |
... |
other arguments passed on to |
mo_glims("E. coli")
library(dplyr, warn.conflicts = FALSE)
data.frame(mo = c("ESCCOL", "Staph aureus")) |>
mutate(glims = mo_glims())
# even works for non-existing entries in AMR package
mo_glims("Streptococcus mitis/oralis")
if (require(AMR, warn.conflicts = FALSE)) {
as.mo("Streptococcus mitis/oralis")
}
if (require("AMR")) {
mo_genus("Streptococcus mitis/oralis")
}
if (require("AMR")) {
mo_gramstain("Streptococcus mitis/oralis")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.