Learn R Programming

phangorn (version 1.5-0)

treedist: Distances between trees

Description

treedist computes different tree distance methods and RF.dist the Robinson-Foulds distance.

Usage

treedist(tree1, tree2)
RF.dist(tree1, tree2, check.labels=TRUE)

Arguments

tree1
A phylogenetic tree.
tree2
A phylogenetic tree.
check.labels
compares labels of the trees.

Value

  • treedist returns a vector containing the following tree distance methods
  • symmetric.differencesymmetric.difference or Robinson-Foulds distance
  • branch.score.differencebranch.score.difference
  • path.differencepath.difference
  • weighted.path.differenceweighted.path.difference

References

Steel M. A. and Penny P. (1993) Distributions of tree comparison metrics - some new results, Syst. Biol.,42(2), 126-141