AllSPR | R Documentation |
All SPR trees
AllSPR(parent, child, nEdge, notDuplicateRoot, edgeToBreak)
parent |
Integer vector corresponding to the first column of the edge
matrix of a tree of class |
child |
Integer vector corresponding to the second column of the edge
matrix of a tree of class |
nEdge |
integer specifying the number of edges of a tree of class |
notDuplicateRoot |
logical vector of length |
edgeToBreak |
(optional) integer specifying the index of an edge to bisect/prune,
generated randomly if not specified.
Alternatively, set to |
AllSPR()
returns a list of edge matrices for all trees one SPR
rearrangement from the starting tree
Martin R. Smith
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.