<metaproperty="og:title"content="Get properties of a microorganism — mo_property"/>
<metaproperty="og:description"content="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 as.mo(), which makes it possible to use microbial abbreviations, codes and names as input. Please see Examples."/>
<p>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><ahref='as.mo.html'>as.mo()</a></code>, which makes it possible to use microbial abbreviations, codes and names as input. Please see <em>Examples</em>.</p>
<preclass="usage"><spanclass='fu'>mo_name</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_fullname</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_shortname</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_subspecies</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_species</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_genus</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_family</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_order</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_class</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_phylum</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_kingdom</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_domain</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_type</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_gramstain</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_snomed</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_ref</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_authors</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_year</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_rank</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_taxonomy</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_synonyms</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_info</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>mo_url</span><spanclass='op'>(</span><spanclass='va'>x</span>, open <spanclass='op'>=</span><spanclass='cn'>FALSE</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<td><p>language of the returned text, defaults to system language (see <code><ahref='translate.html'>get_locale()</a></code>) and can be overwritten by setting the option <code>AMR_locale</code>, e.g. <code><ahref='https://rdrr.io/r/base/options.html'>options(AMR_locale = "de")</a></code>, see <ahref='translate.html'>translate</a>. Use <code>language = NULL</code> or <code>language = ""</code> to prevent translation.</p></td>
<p>All functions will return the most recently known taxonomic property according to the Catalogue of Life, except for <code>mo_ref()</code>, <code>mo_authors()</code> and <code>mo_year()</code>. Please refer to this example, knowing that <em>Escherichia blattae</em> was renamed to <em>Shimwellia blattae</em> in 2010:</p><ul>
<li><p><code>mo_name("Escherichia blattae")</code> will return <code>"Shimwellia blattae"</code> (with a message about the renaming)</p></li>
<li><p><code>mo_ref("Escherichia blattae")</code> will return <code>"Burgess et al., 1973"</code> (with a message about the renaming)</p></li>
<li><p><code>mo_ref("Shimwellia blattae")</code> will return <code>"Priest et al., 2010"</code> (without a message)</p></li>
<p>The short name - <code>mo_shortname()</code> - almost always returns the first character of the genus and the full species, like <code>"E. coli"</code>. Exceptions are abbreviations of staphylococci (like <em>"CoNS"</em>, Coagulase-Negative Staphylococci) and beta-haemolytic streptococci (like <em>"GBS"</em>, Group B Streptococci). Please bear in mind that e.g. <em>E. coli</em> could mean <em>Escherichia coli</em> (kingdom of Bacteria) as well as <em>Entamoeba coli</em> (kingdom of Protozoa). Returning to the full name will be done using <code><ahref='as.mo.html'>as.mo()</a></code> internally, giving priority to bacteria and human pathogens, i.e. <code>"E. coli"</code> will be considered <em>Escherichia coli</em>. In other words, <code>mo_fullname(mo_shortname("Entamoeba coli"))</code> returns <code>"Escherichia coli"</code>.</p>
<p>Since the top-level of the taxonomy is sometimes referred to as 'kingdom' and sometimes as 'domain', the functions <code>mo_kingdom()</code> and <code>mo_domain()</code> return the exact same results.</p>
<p>The Gram stain - <code>mo_gramstain()</code> - will be determined based on the taxonomic kingdom and phylum. According to Cavalier-Smith (2002, <ahref='https://pubmed.ncbi.nlm.nih.gov/11837318'>PMID 11837318</a>), who defined subkingdoms Negibacteria and Posibacteria, only these phyla are Posibacteria: Actinobacteria, Chloroflexi, Firmicutes and Tenericutes. These bacteria are considered Gram-positive - all other bacteria are considered Gram-negative. Species outside the kingdom of Bacteria will return a value <code>NA</code>.</p>
<p>The function <code>mo_url()</code> will return the direct URL to the online database entry, which also shows the scientific reference of the concerned species.</p>
The <ahref='lifecycle.html'>lifecycle</a> of this function is <strong>stable</strong>. In a stable function, major changes are unlikely. This means that the unlying code will generally evolve by adding new arguments; removing arguments or changing the meaning of existing arguments will be avoided.</p>
<p>If the unlying code needs breaking changes, they will occur gradually. For example, a parameter will be deprecated and first continue to work, but will emit an message informing you of the change. Next, typically after at least one newly released version on CRAN, the message will be transformed to an error.</p>
<h2class="hasAnchor"id="matching-score-for-microorganisms"><aclass="anchor"href="#matching-score-for-microorganisms"></a>Matching score for microorganisms</h2>
<p>With ambiguous user input in <code><ahref='as.mo.html'>as.mo()</a></code> and all the <code>mo_*</code> functions, the returned results are chosen based on their matching score using <code><ahref='mo_matching_score.html'>mo_matching_score()</a></code>. This matching score \(m\), is calculated as:</p>
<li><p>\(n\) is a taxonomic name (genus, species, and subspecies);</p></li>
<li><p>\(l_n\) is the length of \(n\);</p></li>
<li><p>lev is the <ahref='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 \(x\) into \(n\);</p></li>
<li><p>\(p_n\) is the human pathogenic prevalence group of \(n\), as described below;</p></li>
<li><p>\(k_n\) is the taxonomic kingdom of \(n\), set as Bacteria = 1, Fungi = 2, Protozoa = 3, Archaea = 4, others = 5.</p></li>
<p>The grouping into human pathogenic prevalence (\(p\)) is based on experience from several microbiological laboratories in the Netherlands in conjunction with international reports on pathogen prevalence. <strong>Group 1</strong> (most prevalent microorganisms) consists of all microorganisms where the taxonomic class is Gammaproteobacteria or where the taxonomic genus is <em>Enterococcus</em>, <em>Staphylococcus</em> or <em>Streptococcus</em>. This group consequently contains all common Gram-negative bacteria, such as <em>Pseudomonas</em> and <em>Legionella</em> and all species within the order Enterobacterales. <strong>Group 2</strong> consists of all microorganisms where the taxonomic phylum is Proteobacteria, Firmicutes, Actinobacteria or Sarcomastigophora, or where the taxonomic genus is <em>Absidia</em>, <em>Acremonium</em>, <em>Actinotignum</em>, <em>Alternaria</em>, <em>Anaerosalibacter</em>, <em>Apophysomyces</em>, <em>Arachnia</em>, <em>Aspergillus</em>, <em>Aureobacterium</em>, <em>Aureobasidium</em>, <em>Bacteroides</em>, <em>Basidiobolus</em>, <em>Beauveria</em>, <em>Blastocystis</em>, <em>Branhamella</em>, <em>Calymmatobacterium</em>, <em>Candida</em>, <em>Capnocytophaga</em>, <em>Catabacter</em>, <em>Chaetomium</em>, <em>Chryseobacterium</em>, <em>Chryseomonas</em>, <em>Chrysonilia</em>, <em>Cladophialophora</em>, <em>Cladosporium</em>, <em>Conidiobolus</em>, <em>Cryptococcus</em>, <em>Curvularia</em>, <em>Exophiala</em>, <em>Exserohilum</em>, <em>Flavobacterium</em>, <em>Fonsecaea</em>, <em>Fusarium</em>, <em>Fusobacterium</em>, <em>Hendersonula</em>, <em>Hypomyces</em>, <em>Koserella</em>, <em>Lelliottia</em>, <em>Leptosphaeria</em>, <em>Leptotrichia</em>, <em>Malassezia</em>, <em>Malbranchea</em>, <em>Mortierella</em>, <em>Mucor</em>, <em>Mycocentrospora</em>, <em>Mycoplasma</em>, <em>Nectria</em>, <em>Ochroconis</em>, <em>Oidiodendron</em>, <em>Phoma</em>, <em>Piedraia</em>, <em>Pithomyces</em>, <em>Pityrosporum</em>, <em>Prevotella</em>,\<em>Pseudallescheria</em>, <em>Rhizomucor</em>, <em>Rhizopus</em>, <em>Rhodotorula</em>, <em>Scolecobasidium</em>, <em>Scopulariopsis</em>, <em>Scytalidium</em>,<em>Sporobolomyces</em>, <em>Stachybotrys</em>, <em>Stomatococcus</em>, <em>Treponema</em>, <em>Trichoderma</em>, <em>Trichophyton</em>, <em>Trichosporon</em>, <em>Tritirachium</em> or <em>Ureaplasma</em>. <strong>Group 3</strong> consists of all other microorganisms.</p>
<p>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"</code> will return the microbial ID of <em>Escherichia coli</em> (\(m = 0.688\), a highly prevalent microorganism found in humans) and not <em>Entamoeba coli</em> (\(m = 0.079\), a less prevalent microorganism in humans), although the latter would alphabetically come first.</p>
This package contains the complete taxonomic tree of almost all microorganisms (~70,000 species) from the authoritative and comprehensive Catalogue of Life (<ahref='http://www.catalogueoflife.org'>http://www.catalogueoflife.org</a>). The Catalogue of Life is the most comprehensive and authoritative global index of species currently available.</p>
<p><ahref='catalogue_of_life.html'>Click here</a> for more information about the included taxa. Check which version of the Catalogue of Life was included in this package with <code><ahref='catalogue_of_life_version.html'>catalogue_of_life_version()</a></code>.</p>
<li><p>Becker K <em>et al.</em><strong>Implications of identifying the recently defined members of the <em>S. aureus</em> complex, <em>S. argenteus</em> and <em>S. schweitzeri</em>: A position paper of members of the ESCMID Study Group for staphylococci and Staphylococcal Diseases (ESGS).</strong> 2019. Clin Microbiol Infect. <ahref='https://doi.org/10.1016/j.cmi.2019.02.028'>https://doi.org/10.1016/j.cmi.2019.02.028</a></p></li>
<li><p>Lancefield RC <strong>A serological differentiation of human and other groups of hemolytic streptococci</strong>. 1933. J Exp Med. 57(4): 571–95. <ahref='https://dx.doi.org/10.1084/jem.57.4.571'>https://dx.doi.org/10.1084/jem.57.4.571</a></p></li>
<li><p>Catalogue of Life: Annual Checklist (public online taxonomic database), <ahref='http://www.catalogueoflife.org'>http://www.catalogueoflife.org</a> (check included annual version with <code><ahref='catalogue_of_life_version.html'>catalogue_of_life_version()</a></code>).</p></li>
<h2class="hasAnchor"id="reference-data-publicly-available"><aclass="anchor"href="#reference-data-publicly-available"></a>Reference data publicly available</h2>
<p>All reference data sets (about microorganisms, antibiotics, R/SI interpretation, EUCAST rules, etc.) in this <code>AMR</code> package are publicly and freely available. We continually export our data sets to formats for use in R, SPSS, SAS, Stata and Excel. We also supply flat files that are machine-readable and suitable for input in any software program, such as laboratory information systems. Please find <ahref='https://msberends.github.io/AMR/articles/datasets.html'>all download links on our website</a>, which is automatically updated with every code change.</p>
<p>On our website <ahref='https://msberends.github.io/AMR/'>https://msberends.github.io/AMR/</a> you can find <ahref='https://msberends.github.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.github.io/AMR/reference/'>complete documentation of all functions</a> and <ahref='https://msberends.github.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>. As we would like to better understand the backgrounds and needs of our users, please <ahref='https://msberends.github.io/AMR/survey.html'>participate in our survey</a>!</p>
<spanclass='fu'>mo_fullname</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Escherichia coli" - same as mo_name()</span>
<spanclass='fu'>mo_type</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Bacteria" (equal to kingdom, but may be translated)</span>
<spanclass='fu'>mo_url</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># get the direct url to the online database entry</span>
<spanclass='fu'>mo_synonyms</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># get previously accepted taxonomic names</span>
<spanclass='fu'>mo_ref</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Castellani et al., 1919"</span>
<spanclass='fu'>mo_authors</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Castellani et al."</span>
<spanclass='fu'>mo_gramstain</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span>, language <spanclass='op'>=</span><spanclass='st'>"de"</span><spanclass='op'>)</span><spanclass='co'># "Gramnegativ"</span>
<spanclass='fu'>mo_gramstain</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span>, language <spanclass='op'>=</span><spanclass='st'>"nl"</span><spanclass='op'>)</span><spanclass='co'># "Gram-negatief"</span>
<spanclass='fu'>mo_gramstain</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span>, language <spanclass='op'>=</span><spanclass='st'>"es"</span><spanclass='op'>)</span><spanclass='co'># "Gram negativo"</span>
<spanclass='fu'>mo_kingdom</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Bacteria" on a German system</span>
<spanclass='fu'>mo_type</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Bakterien" on a German system</span>
<spanclass='fu'>mo_type</span><spanclass='op'>(</span><spanclass='st'>"E. coli"</span><spanclass='op'>)</span><spanclass='co'># "Bacteria" on an English system</span>
<p>Developed by <ahref='https://www.rug.nl/staff/m.s.berends/'>Matthijs S. Berends</a>, <ahref='https://www.rug.nl/staff/c.f.luz/'>Christian F. Luz</a>, <ahref='https://www.rug.nl/staff/a.w.friedrich/'>Alexander W. Friedrich</a>, <ahref='https://www.rug.nl/staff/b.sinha/'>Bhanu N. M. Sinha</a>, <ahref='https://www.rug.nl/staff/c.j.albers/'>Casper J. Albers</a>, <ahref='https://www.rug.nl/staff/c.glasner/'>Corinna Glasner</a>.</p>