dot-PrepareTrees: Prepare trees for passing to uspr

Description Usage Arguments Value Author(s)

Description

Converts trees to Newick strings, as expected by the 'uspr' C++ library.

Usage

1
2
3
4
5
6
7
8
.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)


TBRDist documentation built on Sept. 17, 2020, 5:07 p.m.