edge_to_splits | R Documentation |
Wrapper for internal C++ function for maximum efficiency. Improper input may crash R. Behaviour not guaranteed. It is advisable to contact the package maintainers before relying on this function.
edge_to_splits(
edge,
edgeOrder,
tipLabels = NULL,
asSplits = TRUE,
nTip = NTip(edge),
...
)
edge |
A matrix with two columns, with each row listing the parent and
child node of an edge in a phylogenetic tree. Property |
edgeOrder |
Integer vector such that |
tipLabels |
Character vector specifying sequence in which to order
tip labels. Label order must (currently) match to combine or compare separate
|
asSplits |
Logical specifying whether to return a |
nTip |
Integer specifying number of leaves in tree. |
... |
Presently unused. |
edge_to_splits()
uses the same return format as as.Splits()
.
as.Splits()
offers a safe access point to this
function that should be suitable for most users.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.