untangle: Attempts to untangle crossing branches for plotting
Description
This function attempts to untangle the branches of a tree that are tangled in plotting with plot.phylo
, plotTree
, or plotSimmap
. Note that method="read.tree"
does not presently work for SIMMAP style treesUsage
untangle(tree, method=c("reorder","read.tree"))
Arguments
tree
tree as an object of class "phylo"
. Can be a SIMMAP style tree (e.g., read.simmap
. Value
- A tree with branch lengths, or modified
"phylo"
object with a mapped discrete character.
References
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.