AMR/man/mo_property.Rd

300 lines
19 KiB
Plaintext
Raw Normal View History

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mo_property.R
\name{mo_property}
\alias{mo_property}
2019-05-13 12:21:57 +02:00
\alias{mo_name}
\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-11-09 13:11:54 +01:00
\alias{mo_kingdom}
\alias{mo_domain}
\alias{mo_type}
\alias{mo_gramstain}
\alias{mo_is_gram_negative}
\alias{mo_is_gram_positive}
\alias{mo_is_yeast}
\alias{mo_is_intrinsic_resistant}
2020-01-27 19:14:23 +01:00
\alias{mo_snomed}
2018-11-09 13:11:54 +01:00
\alias{mo_ref}
\alias{mo_authors}
\alias{mo_year}
2021-12-09 10:48:25 +01:00
\alias{mo_lpsn}
2019-02-22 22:12:10 +01:00
\alias{mo_rank}
2018-09-17 20:53:32 +02:00
\alias{mo_taxonomy}
\alias{mo_synonyms}
2019-06-11 14:18:25 +02:00
\alias{mo_info}
2019-02-20 00:04:48 +01:00
\alias{mo_url}
\title{Get Properties of a Microorganism}
\usage{
mo_name(x, language = get_AMR_locale(), ...)
2019-05-13 12:21:57 +02:00
mo_fullname(x, language = get_AMR_locale(), ...)
mo_shortname(x, language = get_AMR_locale(), ...)
2018-09-17 20:53:32 +02:00
mo_subspecies(x, language = get_AMR_locale(), ...)
mo_species(x, language = get_AMR_locale(), ...)
mo_genus(x, language = get_AMR_locale(), ...)
mo_family(x, language = get_AMR_locale(), ...)
mo_order(x, language = get_AMR_locale(), ...)
2018-09-17 20:53:32 +02:00
mo_class(x, language = get_AMR_locale(), ...)
2018-09-17 20:53:32 +02:00
mo_phylum(x, language = get_AMR_locale(), ...)
2018-09-05 10:51:46 +02:00
mo_kingdom(x, language = get_AMR_locale(), ...)
mo_domain(x, language = get_AMR_locale(), ...)
mo_type(x, language = get_AMR_locale(), ...)
mo_gramstain(x, language = get_AMR_locale(), ...)
2018-11-09 13:11:54 +01:00
mo_is_gram_negative(x, language = get_AMR_locale(), ...)
mo_is_gram_positive(x, language = get_AMR_locale(), ...)
mo_is_yeast(x, language = get_AMR_locale(), ...)
mo_is_intrinsic_resistant(x, ab, language = get_AMR_locale(), ...)
mo_snomed(x, language = get_AMR_locale(), ...)
2020-01-27 19:14:23 +01:00
mo_ref(x, language = get_AMR_locale(), ...)
2018-10-01 11:39:43 +02:00
mo_authors(x, language = get_AMR_locale(), ...)
2018-11-09 13:11:54 +01:00
mo_year(x, language = get_AMR_locale(), ...)
2018-10-01 11:39:43 +02:00
mo_lpsn(x, language = get_AMR_locale(), ...)
2021-12-09 10:48:25 +01:00
mo_rank(x, language = get_AMR_locale(), ...)
2019-02-22 22:12:10 +01:00
mo_taxonomy(x, language = get_AMR_locale(), ...)
2018-11-09 13:11:54 +01:00
mo_synonyms(x, language = get_AMR_locale(), ...)
mo_info(x, language = get_AMR_locale(), ...)
2019-06-11 14:18:25 +02:00
mo_url(x, open = FALSE, language = get_AMR_locale(), ...)
2019-02-20 00:04:48 +01:00
mo_property(x, property = "fullname", language = get_AMR_locale(), ...)
}
\arguments{
2021-05-12 18:15:03 +02:00
\item{x}{any \link{character} (vector) that can be coerced to a valid microorganism code with \code{\link[=as.mo]{as.mo()}}. Can be left blank for auto-guessing the column containing microorganism codes if used in a data set, see \emph{Examples}.}
\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can be overwritten by setting the option \code{AMR_locale}, e.g. \code{options(AMR_locale = "de")}, see \link{translate}. Also used to translate text like "no growth". Use \code{language = NULL} or \code{language = ""} to prevent translation.}
2018-09-17 20:53:32 +02:00
2020-12-22 00:51:17 +01:00
\item{...}{other arguments passed on to \code{\link[=as.mo]{as.mo()}}, such as 'allow_uncertain' and 'ignore_pattern'}
2018-10-01 11:39:43 +02:00
\item{ab}{any (vector of) text that can be coerced to a valid antibiotic code with \code{\link[=as.ab]{as.ab()}}}
\item{open}{browse the URL using \code{\link[utils:browseURL]{browseURL()}}}
2019-02-22 22:12:10 +01:00
\item{property}{one of the column names of the \link{microorganisms} data set: "mo", "fullname", "kingdom", "phylum", "class", "order", "family", "genus", "species", "subspecies", "rank", "ref", "species_id", "source", "prevalence" or "snomed", or must be \code{"shortname"}}
}
2018-09-05 12:21:27 +02:00
\value{
2018-11-09 13:11:54 +01:00
\itemize{
\item An \link{integer} in case of \code{\link[=mo_year]{mo_year()}}
\item A \link{list} in case of \code{\link[=mo_taxonomy]{mo_taxonomy()}} and \code{\link[=mo_info]{mo_info()}}
\item A named \link{character} in case of \code{\link[=mo_url]{mo_url()}}
2021-03-11 21:42:30 +01:00
\item A \link{numeric} in case of \code{\link[=mo_snomed]{mo_snomed()}}
\item A \link{character} in all other cases
2018-11-09 13:11:54 +01:00
}
2018-09-05 12:21:27 +02:00
}
\description{
Use these functions to return a specific property of a microorganism based on the latest accepted taxonomy. All input values will be evaluated internally with \code{\link[=as.mo]{as.mo()}}, which makes it possible to use microbial abbreviations, codes and names as input. See \emph{Examples}.
}
2018-11-09 13:11:54 +01:00
\details{
All functions will return the most recently known taxonomic property according to the Catalogue of Life, except for \code{\link[=mo_ref]{mo_ref()}}, \code{\link[=mo_authors]{mo_authors()}} and \code{\link[=mo_year]{mo_year()}}. Please refer to this example, knowing that \emph{Escherichia blattae} was renamed to \emph{Shimwellia blattae} in 2010:
2018-11-09 13:11:54 +01:00
\itemize{
\item \code{mo_name("Escherichia blattae")} will return \code{"Shimwellia blattae"} (with a message about the renaming)
\item \code{mo_ref("Escherichia blattae")} will return \code{"Burgess et al., 1973"} (with a message about the renaming)
\item \code{mo_ref("Shimwellia blattae")} will return \code{"Priest et al., 2010"} (without a message)
2018-11-09 13:11:54 +01:00
}
2019-02-20 00:04:48 +01:00
2020-12-17 16:22:25 +01:00
The short name - \code{\link[=mo_shortname]{mo_shortname()}} - almost always returns the first character of the genus and the full species, like \code{"E. coli"}. Exceptions are abbreviations of staphylococci (such as \emph{"CoNS"}, Coagulase-Negative Staphylococci) and beta-haemolytic streptococci (such as \emph{"GBS"}, Group B Streptococci). Please bear in mind that e.g. \emph{E. coli} could mean \emph{Escherichia coli} (kingdom of Bacteria) as well as \emph{Entamoeba coli} (kingdom of Protozoa). Returning to the full name will be done using \code{\link[=as.mo]{as.mo()}} internally, giving priority to bacteria and human pathogens, i.e. \code{"E. coli"} will be considered \emph{Escherichia coli}. In other words, \code{mo_fullname(mo_shortname("Entamoeba coli"))} returns \code{"Escherichia coli"}.
Since the top-level of the taxonomy is sometimes referred to as 'kingdom' and sometimes as 'domain', the functions \code{\link[=mo_kingdom]{mo_kingdom()}} and \code{\link[=mo_domain]{mo_domain()}} return the exact same results.
The Gram stain - \code{\link[=mo_gramstain]{mo_gramstain()}} - will be determined based on the taxonomic kingdom and phylum. According to Cavalier-Smith (2002, \href{https://pubmed.ncbi.nlm.nih.gov/11837318}{PMID 11837318}), who defined subkingdoms Negibacteria and Posibacteria, only these phyla are Posibacteria: Actinobacteria, Chloroflexi, Firmicutes and Tenericutes. These bacteria are considered Gram-positive, except for members of the class Negativicutes which are Gram-negative. Members of other bacterial phyla are all considered Gram-negative. Species outside the kingdom of Bacteria will return a value \code{NA}. Functions \code{\link[=mo_is_gram_negative]{mo_is_gram_negative()}} and \code{\link[=mo_is_gram_positive]{mo_is_gram_positive()}} always return \code{TRUE} or \code{FALSE} (except when the input is \code{NA} or the MO code is \code{UNKNOWN}), thus always return \code{FALSE} for species outside the taxonomic kingdom of Bacteria.
Determination of yeasts - \code{\link[=mo_is_yeast]{mo_is_yeast()}} - will be based on the taxonomic kingdom and class. \emph{Budding yeasts} are fungi of the phylum Ascomycetes, class Saccharomycetes (also called Hemiascomycetes). \emph{True yeasts} are aggregated into the underlying order Saccharomycetales. Thus, for all microorganisms that are fungi and member of the taxonomic class Saccharomycetes, the function will return \code{TRUE}. It returns \code{FALSE} otherwise (except when the input is \code{NA} or the MO code is \code{UNKNOWN}).
2022-03-24 23:05:04 +01:00
Intrinsic resistance - \code{\link[=mo_is_intrinsic_resistant]{mo_is_intrinsic_resistant()}} - will be determined based on the \link{intrinsic_resistant} data set, which is based on \href{https://www.eucast.org/expert_rules_and_expected_phenotypes/}{'EUCAST Expert Rules' and 'EUCAST Intrinsic Resistance and Unusual Phenotypes' v3.3} (2021). The \code{\link[=mo_is_intrinsic_resistant]{mo_is_intrinsic_resistant()}} functions can be vectorised over arguments \code{x} (input for microorganisms) and over \code{ab} (input for antibiotics).
2019-02-20 00:04:48 +01:00
All output \link[=translate]{will be translated} where possible.
2018-11-05 13:20:32 +01:00
The function \code{\link[=mo_url]{mo_url()}} will return the direct URL to the online database entry, which also shows the scientific reference of the concerned species.
2021-03-11 21:42:30 +01:00
2021-07-04 15:26:50 +02:00
SNOMED codes - \code{\link[=mo_snomed]{mo_snomed()}} - are from the US Edition of SNOMED CT from 1 September 2020. See \emph{Source} and the \link{microorganisms} data set for more info.
2018-11-05 13:20:32 +01:00
}
\section{Matching Score for Microorganisms}{
2020-09-26 16:26:01 +02:00
2020-09-28 11:00:59 +02:00
With ambiguous user input in \code{\link[=as.mo]{as.mo()}} and all the \code{\link[=mo_property]{mo_*}} functions, the returned results are chosen based on their matching score using \code{\link[=mo_matching_score]{mo_matching_score()}}. This matching score \eqn{m}, is calculated as:
2020-09-26 16:26:01 +02:00
\ifelse{latex}{\deqn{m_{(x, n)} = \frac{l_{n} - 0.5 \cdot \min \begin{cases}l_{n} \\ \textrm{lev}(x, n)\end{cases}}{l_{n} \cdot p_{n} \cdot k_{n}}}}{\ifelse{html}{\figure{mo_matching_score.png}{options: width="300" alt="mo matching score"}}{m(x, n) = ( l_n * min(l_n, lev(x, n) ) ) / ( l_n * p_n * k_n )}}
2020-09-26 16:26:01 +02:00
where:
\itemize{
\item \ifelse{html}{\out{<i>x</i> is the user input;}}{\eqn{x} is the user input;}
\item \ifelse{html}{\out{<i>n</i> is a taxonomic name (genus, species, and subspecies);}}{\eqn{n} is a taxonomic name (genus, species, and subspecies);}
\item \ifelse{html}{\out{<i>l<sub>n</sub></i> is the length of <i>n</i>;}}{l_n is the length of \eqn{n};}
\item \ifelse{html}{\out{<i>lev</i> is the <a href="https://en.wikipedia.org/wiki/Levenshtein_distance">Levenshtein distance function</a>, which counts any insertion, deletion and substitution as 1 that is needed to change <i>x</i> into <i>n</i>;}}{lev is the Levenshtein distance function, which counts any insertion, deletion and substitution as 1 that is needed to change \eqn{x} into \eqn{n};}
\item \ifelse{html}{\out{<i>p<sub>n</sub></i> is the human pathogenic prevalence group of <i>n</i>, as described below;}}{p_n is the human pathogenic prevalence group of \eqn{n}, as described below;}
\item \ifelse{html}{\out{<i>k<sub>n</sub></i> is the taxonomic kingdom of <i>n</i>, set as Bacteria = 1, Fungi = 2, Protozoa = 3, Archaea = 4, others = 5.}}{l_n is the taxonomic kingdom of \eqn{n}, set as Bacteria = 1, Fungi = 2, Protozoa = 3, Archaea = 4, others = 5.}
2020-09-26 16:26:01 +02:00
}
2021-04-16 11:41:05 +02:00
The grouping into human pathogenic prevalence (\eqn{p}) is based on experience from several microbiological laboratories in the Netherlands in conjunction with international reports on pathogen prevalence. \strong{Group 1} (most prevalent microorganisms) consists of all microorganisms where the taxonomic class is Gammaproteobacteria or where the taxonomic genus is \emph{Enterococcus}, \emph{Staphylococcus} or \emph{Streptococcus}. This group consequently contains all common Gram-negative bacteria, such as \emph{Pseudomonas} and \emph{Legionella} and all species within the order Enterobacterales. \strong{Group 2} consists of all microorganisms where the taxonomic phylum is Proteobacteria, Firmicutes, Actinobacteria or Sarcomastigophora, or where the taxonomic genus is \emph{Absidia}, \emph{Acremonium}, \emph{Actinotignum}, \emph{Alternaria}, \emph{Anaerosalibacter}, \emph{Apophysomyces}, \emph{Arachnia}, \emph{Aspergillus}, \emph{Aureobacterium}, \emph{Aureobasidium}, \emph{Bacteroides}, \emph{Basidiobolus}, \emph{Beauveria}, \emph{Blastocystis}, \emph{Branhamella}, \emph{Calymmatobacterium}, \emph{Candida}, \emph{Capnocytophaga}, \emph{Catabacter}, \emph{Chaetomium}, \emph{Chryseobacterium}, \emph{Chryseomonas}, \emph{Chrysonilia}, \emph{Cladophialophora}, \emph{Cladosporium}, \emph{Conidiobolus}, \emph{Cryptococcus}, \emph{Curvularia}, \emph{Exophiala}, \emph{Exserohilum}, \emph{Flavobacterium}, \emph{Fonsecaea}, \emph{Fusarium}, \emph{Fusobacterium}, \emph{Hendersonula}, \emph{Hypomyces}, \emph{Koserella}, \emph{Lelliottia}, \emph{Leptosphaeria}, \emph{Leptotrichia}, \emph{Malassezia}, \emph{Malbranchea}, \emph{Mortierella}, \emph{Mucor}, \emph{Mycocentrospora}, \emph{Mycoplasma}, \emph{Nectria}, \emph{Ochroconis}, \emph{Oidiodendron}, \emph{Phoma}, \emph{Piedraia}, \emph{Pithomyces}, \emph{Pityrosporum}, \emph{Prevotella}, \emph{Pseudallescheria}, \emph{Rhizomucor}, \emph{Rhizopus}, \emph{Rhodotorula}, \emph{Scolecobasidium}, \emph{Scopulariopsis}, \emph{Scytalidium}, \emph{Sporobolomyces}, \emph{Stachybotrys}, \emph{Stomatococcus}, \emph{Treponema}, \emph{Trichoderma}, \emph{Trichophyton}, \emph{Trichosporon}, \emph{Tritirachium} or \emph{Ureaplasma}. \strong{Group 3} consists of all other microorganisms.
2020-09-26 16:51:17 +02:00
All characters in \eqn{x} and \eqn{n} are ignored that are other than A-Z, a-z, 0-9, spaces and parentheses.
All matches are sorted descending on their matching score and for all user input values, the top match will be returned. This will lead to the effect that e.g., \code{"E. coli"} will return the microbial ID of \emph{Escherichia coli} (\eqn{m = 0.688}, a highly prevalent microorganism found in humans) and not \emph{Entamoeba coli} (\eqn{m = 0.079}, a less prevalent microorganism in humans), although the latter would alphabetically come first.
Since \code{AMR} version 1.8.1, common microorganism abbreviations are ignored in determining the matching score. These abbreviations are currently: AIEC, ATEC, BORSA, CRSM, DAEC, EAEC, EHEC, EIEC, EPEC, ETEC, GISA, MRPA, MRSA, MRSE, MSSA, MSSE, NMEC, PISP, PRSP, STEC, UPEC, VISA, VISP, VRE, VRSA and VRSP.
2020-09-26 16:26:01 +02:00
}
2019-02-20 00:04:48 +01:00
\section{Catalogue of Life}{
2018-09-24 23:33:29 +02:00
\if{html}{\figure{logo_col.png}{options: height="40" style=margin-bottom:"5"} \cr}
This package contains the complete taxonomic tree of almost all microorganisms (~71,000 species) from the authoritative and comprehensive Catalogue of Life (CoL, \url{http://www.catalogueoflife.org}). The CoL is the most comprehensive and authoritative global index of species currently available. Nonetheless, we supplemented the CoL data with data from the List of Prokaryotic names with Standing in Nomenclature (LPSN, \href{https://lpsn.dsmz.de}{lpsn.dsmz.de}). This supplementation is needed until the \href{https://github.com/CatalogueOfLife/general}{CoL+ project} is finished, which we await.
2019-02-20 00:04:48 +01:00
\link[=catalogue_of_life]{Click here} for more information about the included taxa. Check which versions of the CoL and LPSN were included in this package with \code{\link[=catalogue_of_life_version]{catalogue_of_life_version()}}.
2018-09-24 23:33:29 +02:00
}
\section{Source}{
\enumerate{
\item Becker K \emph{et al.} \strong{Coagulase-Negative Staphylococci}. 2014. Clin Microbiol Rev. 27(4): 870-926; \doi{10.1128/CMR.00109-13}
2021-01-06 11:16:17 +01:00
\item Becker K \emph{et al.} \strong{Implications of identifying the recently defined members of the \emph{S. aureus} complex, \emph{S. argenteus} and \emph{S. schweitzeri}: A position paper of members of the ESCMID Study Group for staphylococci and Staphylococcal Diseases (ESGS).} 2019. Clin Microbiol Infect; \doi{10.1016/j.cmi.2019.02.028}
\item Becker K \emph{et al.} \strong{Emergence of coagulase-negative staphylococci} 2020. Expert Rev Anti Infect Ther. 18(4):349-366; \doi{10.1080/14787210.2020.1730813}
\item Lancefield RC \strong{A serological differentiation of human and other groups of hemolytic streptococci}. 1933. J Exp Med. 57(4): 571-95; \doi{10.1084/jem.57.4.571}
2021-03-11 21:42:30 +01:00
\item Catalogue of Life: 2019 Annual Checklist, \url{http://www.catalogueoflife.org}
\item List of Prokaryotic names with Standing in Nomenclature (5 October 2021), \doi{10.1099/ijsem.0.004332}
2021-03-11 21:42:30 +01:00
\item US Edition of SNOMED CT from 1 September 2020, retrieved from the Public Health Information Network Vocabulary Access and Distribution System (PHIN VADS), OID 2.16.840.1.114222.4.11.1009, version 12; url: \url{https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.1009}
}
2018-09-24 23:33:29 +02:00
}
\section{Reference Data Publicly Available}{
2020-08-21 11:40:13 +02:00
2022-08-27 20:49:37 +02:00
All data sets in this \code{AMR} package (about microorganisms, antibiotics, R/SI interpretation, EUCAST rules, etc.) are publicly and freely available for download in the following formats: R, MS Excel, Apache Feather, Apache Parquet, SPSS, SAS, and Stata. We also provide tab-separated plain text files that are machine-readable and suitable for input in any software program, such as laboratory information systems. Please visit \href{https://msberends.github.io/AMR/articles/datasets.html}{our website for the download links}. The actual files are of course available on \href{https://github.com/msberends/AMR/tree/main/data-raw}{our GitHub repository}.
2020-08-21 11:40:13 +02:00
}
\examples{
# taxonomic tree -----------------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_kingdom("Klebsiella pneumoniae")
mo_phylum("Klebsiella pneumoniae")
mo_class("Klebsiella pneumoniae")
mo_order("Klebsiella pneumoniae")
mo_family("Klebsiella pneumoniae")
mo_genus("Klebsiella pneumoniae")
mo_species("Klebsiella pneumoniae")
mo_subspecies("Klebsiella pneumoniae")
2018-11-09 13:11:54 +01:00
# colloquial properties ----------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_name("Klebsiella pneumoniae")
mo_fullname("Klebsiella pneumoniae")
mo_shortname("Klebsiella pneumoniae")
2018-11-09 13:11:54 +01:00
# other properties ---------------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_gramstain("Klebsiella pneumoniae")
mo_snomed("Klebsiella pneumoniae")
mo_type("Klebsiella pneumoniae")
mo_rank("Klebsiella pneumoniae")
mo_url("Klebsiella pneumoniae")
mo_synonyms("Klebsiella pneumoniae")
2018-11-09 13:11:54 +01:00
# scientific reference -----------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_ref("Klebsiella pneumoniae")
mo_authors("Klebsiella pneumoniae")
mo_year("Klebsiella pneumoniae")
mo_lpsn("Klebsiella pneumoniae")
# abbreviations known in the field -----------------------------------------
2022-08-21 16:37:20 +02:00
mo_genus("MRSA")
mo_species("MRSA")
mo_shortname("VISA")
mo_gramstain("VISA")
2022-08-21 16:37:20 +02:00
mo_genus("EHEC")
mo_species("EHEC")
# known subspecies ---------------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_name("doylei")
mo_genus("doylei")
mo_species("doylei")
mo_subspecies("doylei")
2022-08-21 16:37:20 +02:00
mo_fullname("K. pneu rh")
mo_shortname("K. pneu rh")
\donttest{
# Becker classification, see ?as.mo ----------------------------------------
2022-08-21 16:37:20 +02:00
mo_fullname("S. epi")
mo_fullname("S. epi", Becker = TRUE)
mo_shortname("S. epi")
mo_shortname("S. epi", Becker = TRUE)
# Lancefield classification, see ?as.mo ------------------------------------
2022-08-21 16:37:20 +02:00
mo_fullname("S. pyo")
mo_fullname("S. pyo", Lancefield = TRUE)
mo_shortname("S. pyo")
mo_shortname("S. pyo", Lancefield = TRUE)
# language support --------------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_gramstain("Klebsiella pneumoniae", language = "de")
mo_gramstain("Klebsiella pneumoniae", language = "nl")
mo_gramstain("Klebsiella pneumoniae", language = "es")
2018-11-09 13:11:54 +01:00
# mo_type is equal to mo_kingdom, but mo_kingdom will remain official
2022-08-21 16:37:20 +02:00
mo_kingdom("Klebsiella pneumoniae")
mo_type("Klebsiella pneumoniae")
mo_type("Klebsiella pneumoniae")
2018-11-09 13:11:54 +01:00
2018-09-09 12:11:44 +02:00
mo_fullname("S. pyogenes",
2022-08-28 10:31:50 +02:00
Lancefield = TRUE,
language = "de"
)
2018-09-09 12:11:44 +02:00
mo_fullname("S. pyogenes",
2022-08-28 10:31:50 +02:00
Lancefield = TRUE,
language = "nl"
)
2018-09-17 20:53:32 +02:00
# other --------------------------------------------------------------------
2022-08-21 16:37:20 +02:00
mo_is_yeast(c("Candida", "Trichophyton", "Klebsiella"))
2022-08-21 16:37:20 +02:00
# gram stains and intrinsic resistance can be used as a filter in dplyr verbs
2020-11-09 15:18:36 +01:00
if (require("dplyr")) {
example_isolates \%>\%
filter(mo_is_gram_positive())
2022-08-28 10:31:50 +02:00
example_isolates \%>\%
filter(mo_is_intrinsic_resistant(ab = "vanco"))
2020-11-09 15:18:36 +01:00
}
2018-09-17 20:53:32 +02:00
2019-05-10 16:44:59 +02:00
# get a list with the complete taxonomy (from kingdom to subspecies)
2022-08-21 16:37:20 +02:00
mo_taxonomy("Klebsiella pneumoniae")
2021-03-11 21:42:30 +01:00
# get a list with the taxonomy, the authors, Gram-stain,
2022-08-21 16:37:20 +02:00
# SNOMED codes, and URL to the online database
mo_info("Klebsiella pneumoniae")
}
2021-05-24 09:00:11 +02:00
}
\seealso{
2021-07-04 15:26:50 +02:00
Data set \link{microorganisms}
}