Description Usage Arguments Value Author(s) See Also Examples
Access or modify information about the edges.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | edges(x, ...)
## S4 method for signature 'phylo4'
edges(x, drop.root = FALSE)
edgeOrder(x, ...)
## S4 method for signature 'phylo4'
edgeOrder(x)
internalEdges(x)
## S4 method for signature 'phylo4'
internalEdges(x)
terminalEdges(x)
## S4 method for signature 'phylo4'
terminalEdges(x)
|
x |
a |
drop.root |
logical (default FALSE), should the edge connecting the root be included in the edge matrix? |
... |
Optional arguments used by specific methods. (None used at present). |
edges
returns the edge matrix that represent the ancestor-descendant relationships among the nodes of the tree.
edgeOrder
returns the order in which the edge matrix is in.
internalEdges
returns a logical vector indicating
internal edges (edges that connect an internal node to
another). This vector is named with the edgeId
.
terminalEdges
returns a logical vector indicating
terminal edges (edges that connect an internal node to a
tip). This vector is named with the edgeId
Ben Bolker, Francois Michonneau, Thibaut Jombart
reorder, edgeId
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.