View source: R/special-identifiers.R
| check_special_monophyly | R Documentation |
Tests whether the MRCA of the specified domains (identified by LUCA/LACA/LBCA) contains only tips from those domains (i.e., is monophyletic with respect to the target domains).
check_special_monophyly(
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:
Logical. Whether the group is monophyletic.
Character. The identifier name.
Integer or NULL. The MRCA node number.
Integer. Number of tips in the target domains.
Integer. Number of outsider tips in the MRCA clade.
Character vector. Domains of outsider tips.
data(example_tree)
result <- check_special_monophyly(example_tree, "LBCA")
if (result$is_monophyletic) {
message("LBCA is monophyletic!")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.