2018-08-28 13:51:13 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mo_property.R
\name{mo_property}
\alias{mo_property}
\alias{mo_fullname}
2018-09-05 10:51:46 +02:00
\alias{mo_shortname}
2018-09-17 20:53:32 +02:00
\alias{mo_subspecies}
\alias{mo_species}
\alias{mo_genus}
\alias{mo_family}
\alias{mo_order}
\alias{mo_class}
\alias{mo_phylum}
2018-09-24 23:33:29 +02:00
\alias{mo_subkingdom}
2018-08-28 13:51:13 +02:00
\alias{mo_type}
2018-09-24 23:33:29 +02:00
\alias{mo_TSN}
2018-08-28 13:51:13 +02:00
\alias{mo_gramstain}
2018-09-17 20:53:32 +02:00
\alias{mo_taxonomy}
2018-08-28 13:51:13 +02:00
\title{Property of a microorganism}
\usage{
2018-09-17 20:53:32 +02:00
mo_fullname(x, Becker = FALSE, Lancefield = FALSE, language = NULL)
2018-08-28 13:51:13 +02:00
2018-09-17 20:53:32 +02:00
mo_shortname(x, Becker = FALSE, Lancefield = FALSE, language = NULL)
mo_subspecies(x, Becker = FALSE, Lancefield = FALSE, language = NULL)
2018-08-28 13:51:13 +02:00
2018-09-08 16:06:47 +02:00
mo_species(x, Becker = FALSE, Lancefield = FALSE, language = NULL)
2018-08-28 13:51:13 +02:00
2018-09-17 20:53:32 +02:00
mo_genus(x, language = NULL)
2018-08-28 13:51:13 +02:00
2018-09-17 20:53:32 +02:00
mo_family(x)
2018-08-28 13:51:13 +02:00
2018-09-17 20:53:32 +02:00
mo_order(x)
mo_class(x)
mo_phylum(x)
2018-09-05 10:51:46 +02:00
2018-09-24 23:33:29 +02:00
mo_subkingdom(x)
2018-09-08 16:06:47 +02:00
mo_type(x, language = NULL)
2018-08-28 13:51:13 +02:00
2018-09-24 23:33:29 +02:00
mo_TSN(x)
2018-08-28 13:51:13 +02:00
2018-09-24 23:33:29 +02:00
mo_gramstain(x, language = NULL)
2018-09-08 16:06:47 +02:00
mo_property(x, property = "fullname", Becker = FALSE,
Lancefield = FALSE, language = NULL)
2018-09-17 20:53:32 +02:00
mo_taxonomy(x)
2018-08-28 13:51:13 +02:00
}
\arguments{
2018-09-04 11:33:30 +02:00
\item{x}{any (vector of) text that can be coerced to a valid microorganism code with \code{\link{as.mo}}}
2018-08-28 13:51:13 +02:00
2018-09-04 11:33:30 +02:00
\item{Becker}{a logical to indicate whether \emph{Staphylococci} should be categorised into Coagulase Negative \emph{Staphylococci} ("CoNS") and Coagulase Positive \emph{Staphylococci} ("CoPS") instead of their own species, according to Karsten Becker \emph{et al.} [1].
This excludes \emph{Staphylococcus aureus} at default, use \code{Becker = "all"} to also categorise \emph{S. aureus} as "CoPS".}
2018-09-24 23:33:29 +02:00
\item{Lancefield}{a logical to indicate whether beta-haemolytic \emph{Streptococci} should be categorised into Lancefield groups instead of their own species, according to Rebecca C. Lancefield [2]. These \emph{Streptococci} will be categorised in their first group, e.g. \emph{Streptococcus dysgalactiae} will be group C, although officially it was also categorised into groups G and L.
2018-09-04 11:33:30 +02:00
This excludes \emph{Enterococci} at default (who are in group D), use \code{Lancefield = "all"} to also categorise all \emph{Enterococci} as group D.}
2018-09-25 16:44:40 +02:00
\item{language}{language of the returned text, defaults to English (\code{"en"}) and can also be set with \code{\link{getOption}("AMR_locale")}. Either one of \code{"en"} (English), \code{"de"} (German), \code{"nl"} (Dutch), \code{"es"} (Spanish) or \code{"pt"} (Portuguese).}
2018-09-17 20:53:32 +02:00
2018-09-25 16:44:40 +02:00
\item{property}{one of the column names of one of the \code{\link{microorganisms}} data set or \code{"shortname"}}
2018-08-28 13:51:13 +02:00
}
2018-09-05 12:21:27 +02:00
\value{
2018-09-27 23:23:48 +02:00
A \code{list} (in case of \code{mo_taxonomy}) or a \code{character} otherwise
2018-09-05 12:21:27 +02:00
}
2018-08-28 13:51:13 +02:00
\description{
2018-09-04 11:33:30 +02:00
Use these functions to return a specific property of a microorganism from the \code{\link{microorganisms}} data set. All input values will be evaluated internally with \code{\link{as.mo}}.
2018-08-28 13:51:13 +02:00
}
2018-09-24 23:33:29 +02:00
\section{ITIS}{
\if{html}{\figure{itis_logo.jpg}{options: height=60px style=margin-bottom:5px} \cr}
2018-09-27 23:23:48 +02:00
This \code{AMR} package contains the \strong{complete microbial taxonomic data} (with seven taxonomic ranks - from subkingdom to subspecies) from the publicly available Integrated Taxonomic Information System (ITIS, \url{https://www.itis.gov}). ITIS is a partnership of U.S., Canadian, and Mexican agencies and taxonomic specialists [3]. The complete taxonomic kingdoms Bacteria, Fungi and Protozoa are included in this package, as well as all previously accepted names known to ITIS.
2018-09-24 23:33:29 +02:00
}
\section{Source}{
[1] Becker K \emph{et al.} \strong{Coagulase-Negative Staphylococci}. 2014. Clin Microbiol Rev. 27(4): 870– 926. \url{https://dx.doi.org/10.1128/CMR.00109-13}
[2] Lancefield RC \strong{A serological differentiation of human and other groups of hemolytic streptococci}. 1933. J Exp Med. 57(4): 571– 95. \url{https://dx.doi.org/10.1084/jem.57.4.571}
[3] Integrated Taxonomic Information System (ITIS). Retrieved September 2018. \url{http://www.itis.gov}
}
2018-08-28 13:51:13 +02:00
\examples{
# All properties
2018-09-24 23:33:29 +02:00
mo_subkingdom("E. coli") # "Negibacteria"
2018-09-17 20:53:32 +02:00
mo_phylum("E. coli") # "Proteobacteria"
mo_class("E. coli") # "Gammaproteobacteria"
mo_order("E. coli") # "Enterobacteriales"
2018-09-04 11:33:30 +02:00
mo_family("E. coli") # "Enterobacteriaceae"
mo_genus("E. coli") # "Escherichia"
mo_species("E. coli") # "coli"
2018-09-27 23:23:48 +02:00
mo_subspecies("E. coli") # NA
2018-09-04 11:33:30 +02:00
mo_fullname("E. coli") # "Escherichia coli"
2018-09-05 10:51:46 +02:00
mo_shortname("E. coli") # "E. coli"
2018-09-24 23:33:29 +02:00
mo_gramstain("E. coli") # "Gram negative"
mo_TSN("E. coli") # 285
2018-09-04 11:33:30 +02:00
mo_type("E. coli") # "Bacteria"
2018-08-28 13:51:13 +02:00
# Abbreviations known in the field
2018-09-04 11:33:30 +02:00
mo_genus("MRSA") # "Staphylococcus"
mo_species("MRSA") # "aureus"
2018-09-05 10:51:46 +02:00
mo_shortname("MRSA") # "S. aureus"
2018-09-24 23:33:29 +02:00
mo_gramstain("MRSA") # "Gram positive"
2018-08-28 13:51:13 +02:00
2018-09-04 11:33:30 +02:00
mo_genus("VISA") # "Staphylococcus"
mo_species("VISA") # "aureus"
2018-08-28 13:51:13 +02:00
# Known subspecies
2018-09-04 11:33:30 +02:00
mo_genus("doylei") # "Campylobacter"
mo_species("doylei") # "jejuni"
2018-09-24 23:33:29 +02:00
mo_fullname("doylei") # "Campylobacter jejuni doylei"
2018-09-04 11:33:30 +02:00
2018-09-24 23:33:29 +02:00
mo_fullname("K. pneu rh") # "Klebsiella pneumoniae rhinoscleromatis"
2018-09-05 10:51:46 +02:00
mo_shortname("K. pneu rh") # "K. pneumoniae"
2018-08-28 13:51:13 +02:00
2018-09-04 11:33:30 +02:00
# Becker classification, see ?as.mo
2018-09-05 12:21:27 +02:00
mo_fullname("S. epi") # "Staphylococcus epidermidis"
mo_fullname("S. epi", Becker = TRUE) # "Coagulase Negative Staphylococcus (CoNS)"
mo_shortname("S. epi") # "S. epidermidis"
mo_shortname("S. epi", Becker = TRUE) # "CoNS"
2018-09-04 11:33:30 +02:00
# Lancefield classification, see ?as.mo
2018-09-05 12:21:27 +02:00
mo_fullname("S. pyo") # "Streptococcus pyogenes"
mo_fullname("S. pyo", Lancefield = TRUE) # "Streptococcus group A"
mo_shortname("S. pyo") # "S. pyogenes"
mo_shortname("S. pyo", Lancefield = TRUE) # "GAS"
2018-09-08 16:06:47 +02:00
# Language support for German, Dutch, Spanish and Portuguese
mo_type("E. coli", language = "de") # "Bakterium"
mo_type("E. coli", language = "nl") # "Bacterie"
mo_type("E. coli", language = "es") # "Bakteria"
2018-09-24 23:33:29 +02:00
mo_gramstain("E. coli", language = "de") # "Gramnegativ"
mo_gramstain("E. coli", language = "nl") # "Gram-negatief"
mo_gramstain("E. coli", language = "es") # "Gram negativo"
2018-09-08 16:06:47 +02:00
2018-09-09 12:11:44 +02:00
mo_fullname("S. pyogenes",
2018-09-08 16:06:47 +02:00
Lancefield = TRUE,
language = "de") # "Streptococcus Gruppe A"
2018-09-09 12:11:44 +02:00
mo_fullname("S. pyogenes",
2018-09-08 16:06:47 +02:00
Lancefield = TRUE,
language = "nl") # "Streptococcus groep A"
2018-09-17 20:53:32 +02:00
2018-09-24 23:33:29 +02:00
# Complete taxonomy up to Subkingdom, returns a list
2018-09-17 20:53:32 +02:00
mo_taxonomy("E. coli")
2018-08-28 13:51:13 +02:00
}
\seealso{
\code{\link{microorganisms}}
}