CalculateTreeDistance function

Wrapper for tree distance calculations

Wrapper for tree distance calculations

Calls tree distance functions from trees or lists of trees

CalculateTreeDistance(Func, tree1, tree2 = NULL, reportMatching = FALSE, ...)

Arguments

  • Func: Tree distance function.
  • tree1, tree2: Trees of class phylo, with leaves labelled identically, or lists of such trees to undergo pairwise comparison. Where implemented, tree2 = NULL will compute distances between each pair of trees in the list tree1 using a fast algorithm based on \insertCite Day1985;textualTreeDist.
  • reportMatching: Logical specifying whether to return the clade matchings as an attribute of the score.
  • ...: Additional arguments to Func.

Author(s)

Martin R. Smith

(martin.smith@durham.ac.uk)