DoubleNNI {TreeSearch} | R Documentation |
Double NNI
Description
Returns the edge parameter of the two trees consistent with the speficied NNI rearrangement
Usage
DoubleNNI(parent, child, edgeToBreak)
Arguments
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 |
edgeToBreak |
(optional) integer specifying the index of an edge to bisect/prune,
generated randomly if not specified.
Alternatively, set to |
Value
the tree[["edge"]]
parameter of the two trees consistent with the specified rearrangement
Author(s)
Martin R. Smith
[Package TreeSearch version 1.5.1 Index]