| tol_about | R Documentation |
Basic information about the Open Tree of Life (the synthetic tree)
tol_about(include_source_list = FALSE, ...)
## S3 method for class 'tol_summary'
tax_rank(tax, ...)
## S3 method for class 'tol_summary'
tax_sources(tax, ...)
## S3 method for class 'tol_summary'
unique_name(tax, ...)
## S3 method for class 'tol_summary'
tax_name(tax, ...)
## S3 method for class 'tol_summary'
ott_id(tax, ...)
include_source_list |
Logical (default =
|
... |
additional arguments to customize the API call (see
|
tax |
an object created with a call to |
Summary information about the current draft tree of life,
including information about the list of trees and the taxonomy
used to build it. The object returned by tol_about can
be passed to the taxonomy methods (tax_name(),
tax_rank(), tax_sources(), ott_id), to
extract relevant taxonomic information for the root of the
synthetic tree.
An invisible list of synthetic tree summary statistics:
String. The creation date of the tree.
Integer. The number of studies (publications)used as sources.
The number of trees used as sources (may be >1 tree per study).
The Open Tree Taxonomy version used as a source.
List. Taxa with these taxonomy flags were not used in construction of the tree.
List. Describes the root node:
String. The canonical identifier of the node.
Numeric. The number of descendant tips.
A list of taxonomic properties:
Numeric. The OpenTree Taxonomy ID (ott_id).
String. The taxonomic name of the queried node.
String. The string that uniquely identifies the taxon in OTT.
String. The taxonomic rank of the taxon in OTT.
List. A list of identifiers for taxonomic sources, such as other taxonomies, that define taxa judged equivalent to this taxon.
List. Present only if
include_source_list is TRUE. The sourceid
ordering is the precedence order for synthesis, with
relationships from earlier trees in the list having priority
over those from later trees in the list. See
source_id_map below for study details.
Named list of lists. Present only if
include_source_list is TRUE. Names correspond to
the ‘sourceids’ used in source_list
above. Source trees will have the following properties:
String. The git SHA identifying a particular source version.
String. The tree id associated with the study id used.
String. The study identifier. Will typically include a prefix ("pg_" or "ot_").
The unique string for this version of the tree.
source_list to explore the list of studies
used in the synthetic tree (see example).
## Not run:
res <- tol_about()
tax_sources(res)
ott_id(res)
studies <- source_list(tol_about(include_source_list=TRUE))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.