.PrepareTrees {TBRDist} | R Documentation |
Prepare trees for passing to uspr
Description
Converts trees to Newick strings, as expected by the 'uspr' C++ library.
Usage
.PrepareTrees(
tree1,
tree2,
allPairs = FALSE,
checks = TRUE,
unroot = FALSE,
keepLabels = FALSE
)
Arguments
keepLabels |
Logical specifying whether to pass text labels to distance calculator. This is slower, but makes maximum agreement forests easier to read. |
Value
.PrepareTrees()
returns a two-element list, each entry of which is
a character vector listing trees in Newick format.
Author(s)
Martin R. Smith (martin.smith@durham.ac.uk)
[Package TBRDist version 1.0.2 Index]