View source: R/special-identifiers.R
| resolve_special_identifier | R Documentation |
Handles special identifiers for key ancestral nodes in the tree of life:
LUCA: Last Universal Common Ancestor - MRCA of all Bacteria and Archaea
LACA: Last Archaeal Common Ancestor - MRCA of all Archaea
LBCA: Last Bacterial Common Ancestor - MRCA of all Bacteria
resolve_special_identifier(
tree,
identifier,
format = "auto",
quiet = FALSE,
delimiter_mode = "reverse",
taxonomy_levels = NULL
)
tree |
A |
identifier |
Character. One of
|
format |
Character. Taxonomy label format. Default: |
quiet |
Logical. If TRUE, suppress informational messages. Default: FALSE. |
delimiter_mode |
Character. Embedded parsing strategy: |
taxonomy_levels |
Custom taxonomy level configuration (list with codes and names).
Default: |
A list with components:
Integer. The node number of the MRCA, or NULL if not found.
Character. The identifier name.
Character. Human-readable description.
Integer. Number of descendant tips.
Character vector. Labels of descendant tips.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.