View source: R/special-identifiers.R
| resolve_group | R Documentation |
Unified function that handles both regular group names and special identifiers (LUCA, LACA, LBCA).
resolve_group(
tree,
group,
rank = "domain",
format = "auto",
quiet = FALSE,
delimiter_mode = "reverse",
custom_patterns = NULL,
taxonomy_levels = NULL
)
tree |
A |
group |
Character. Group name or special identifier. |
rank |
Character. Taxonomic rank (ignored for special identifiers). |
format |
Character. Taxonomy label format. Default: |
quiet |
Logical. If TRUE, suppress messages. Default: FALSE. |
delimiter_mode |
Character. Embedded parsing strategy: |
custom_patterns |
Named list of regex patterns for custom format.
Required when |
taxonomy_levels |
Custom taxonomy level configuration (list with codes and names).
Default: |
A list with components:
Logical. Whether the group is monophyletic.
Character. The group name or identifier.
Logical. Whether this is a special identifier.
Integer or NULL. The MRCA node number.
Integer. Number of tips in the group.
Character vector. Tips in MRCA not belonging to group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.