powered by
Rescales all edges of a phylogeny to be equal to 1 ("unit-length").
unitLengthTree(tree)
an object of class phylo
Returns the modified phylogeny as an object of class phylo. Any $root.time element is removed.
Probably not a good way to scale a tree for comparative studies. What does it mean to scale every edge of the phylogeny to the same length?
As an alternative to using unitLengthTree in comparative studies, see timePaleoPhy
timePaleoPhy
See also speciationalTree in the package geiger, which does essentially the same thing as unitLengthTree.
speciationalTree
# NOT RUN { set.seed(444) tree <- rtree(10) layout(1:2) plot(tree) plot(unitLengthTree(tree)) layout(1) # }
Run the code above in your browser using DataLab