Converts trees to Newick strings, as expected by the 'uspr' C++ library.
.PrepareTrees(
tree1,
tree2,
allPairs = FALSE,
checks = TRUE,
unroot = FALSE,
keepLabels = FALSE
)
Logical specifying whether to pass text labels to distance calculator. This is slower, but makes maximum agreement forests easier to read.
.PrepareTrees()
returns a two-element list, each entry of which is
a character vector listing trees in Newick format.