Gieseking manifold
The Robinson–Foulds metric is a way to measure the distance between unrooted phylogenetic trees. It is defined as (A + B) where A is the number of partitions of data implied by the first tree but not the second tree and B is the number of partitions of data implied by the second tree but not the first tree. It is also known as the symmetric difference metric.
Explanation
Given two unrooted trees of nodes and a set of labels (i.e., taxa) for each node (which could be empty, but only nodes with degree greater than or equal to three can be labeled by an empty set) the Robinson–Foulds metric finds the number of and operations to convert one into the other. The number of operations defines their distance. The authors define two trees to be the same if they are isomorphic and the isomorphism preserves the labeling. The construction of the proof is based on a function called , which contracts an edge (combining the nodes, creating a union of their sets). Conversely, expands an edge (decontraction), where the set can be split in any fashion.
The function removes all edges from that are not in , creating , and then is used to create edges in to build . The number of operations in each of these procedures is equivalent to the number of edges in that are not in plus the number of edges in that are not in . The sum of the operations is equivalent to a transformation from to , or vice versa.
Properties
In their 1981 paper Robinson and Foulds proved that the distance is in fact a metric.
Algorithms for computing the metric
In 1985 Day gave an algorithm based on perfect hashing that computes this distance that has only a linear complexity in the number of nodes in the trees. A randomized algorithm that uses hash tables that are not necessarily perfect has been shown to approximate the Robinson-Foulds distance with a bounded error in sublinear time.
Specific applications
In phylogenetics, the metric is often used to compute a distance between two trees. The treedist program in the PHYLIP suite offers this function, as does the RAxML_standard package and the DendroPy Python library (under the name "symmetric difference metric"). For comparing groups of trees, the fastest implementations include HashRF and MrsRF.
The Robinson–Foulds metric has also been used in quantitative comparative linguistics to compute distances between trees that represent how languages are related to each other.
Further reading
- M. Bourque, Arbres de Steiner et reseaux dont certains sommets sont a localisation variable. PhD thesis, University de Montreal, Montreal, Quebec, 1978 http://www.worldcat.org/title/arbres-de-steiner-et-reseaux-dont-certains-sommets-sont-a-localisation-variable/oclc/053538946
- D. R. Robinson and L. R. Foulds, "Comparison of phylogenetic trees", Mathematical Biosciences, 1981, volume 53, pages 131-147. http://dx.doi.org/10.1016/0025-5564(81)90043-2
- William H. E. Day, "Optimal algorithms for comparing trees with labeled leaves", Journal of Classification, Number 1, December 1985. http://www.springerlink.com/content/q5906x80g44p44k8/
- Nicholas D. Pattengale, Eric J. Gottlieb, Bernard M.E. Moret, "Efficiently Computing the Robinson–Foulds Metric", Journal of Computational Biology, July 2007, 14(6): 724-735. 21 year-old Glazier James Grippo from Edam, enjoys hang gliding, industrial property developers in singapore developers in singapore and camping. Finds the entire world an motivating place we have spent 4 months at Alejandro de Humboldt National Park.. http://www.liebertonline.com/doi/abs/10.1089/cmb.2007.R012
- J. Sukumaran and Mark T. Holder, "DendroPy: A Python library for phylogenetic computing". Bioinformatics 26: 1569-1571, 2010.