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.