taxonomy_mrca | R Documentation |
Taxonomic Least Inclusive Common Ancestor (MRCA)
taxonomy_mrca(ott_ids = NULL, ...)
## S3 method for class 'taxon_mrca'
tax_rank(tax, ...)
## S3 method for class 'taxon_mrca'
tax_name(tax, ...)
## S3 method for class 'taxon_mrca'
ott_id(tax, ...)
## S3 method for class 'taxon_mrca'
unique_name(tax, ...)
## S3 method for class 'taxon_mrca'
tax_sources(tax, ...)
## S3 method for class 'taxon_mrca'
flags(tax, ...)
## S3 method for class 'taxon_mrca'
is_suppressed(tax, ...)
ott_ids |
a vector of ott ids for the taxa whose MRCA is to be found (numeric). |
... |
additional arguments to customize the API request (see
|
tax |
an object generated by the |
Given a set of OTT ids, get the taxon that is the most recent common ancestor (the MRCA) of all the identified taxa.
taxonomy_mrca
returns a list about the
taxonomic information relating to the MRCA for the ott_ids
provided.
tax_rank
returns a character vector of the
taxonomic rank for the MRCA.
tax_name
returns a character vector the
Open Tree Taxonomy name for the MRCA.
ott_id
returns a numeric vector of the ott id
for the MRCA.
## Not run:
req <- taxonomy_mrca(ott_ids=c(515698,590452,643717))
tax_rank(req)
tax_name(req)
ott_id(req)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.