Discussion:
[R-sig-phylo] Plot phylogeny with "increasing" or "decreasing" node ages?
Nick Matzke
2015-04-26 22:37:04 UTC
Permalink
Hi all,

In FigTree, there is an option (Left menu->Trees->Order nodes->increasing,
or decreasing) to plot trees and order them such that the higher nodes/tips
in the tree plot at the top or bottom of the plot.

Does anything like this exist for plotting trees in R? Or do I have to
hunt-n-peck and manually rotate nodes 1-by-1 until it looks right?

(yes, I could save the tree out from FigTree and use that, but I want to
automate this plotting function without a FigTree step)

Cheers!
Nick

[[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/
Liam J. Revell
2015-04-26 22:42:35 UTC
Permalink
Hi Nick.

I'm not sure if this is what you mean, but have you tried the function
ladderize from the ape package?

All the best, Liam

Liam J. Revell, Assistant Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: ***@umb.edu
blog: http://blog.phytools.org
Post by Nick Matzke
Hi all,
In FigTree, there is an option (Left menu->Trees->Order nodes->increasing,
or decreasing) to plot trees and order them such that the higher nodes/tips
in the tree plot at the top or bottom of the plot.
Does anything like this exist for plotting trees in R? Or do I have to
hunt-n-peck and manually rotate nodes 1-by-1 until it looks right?
(yes, I could save the tree out from FigTree and use that, but I want to
automate this plotting function without a FigTree step)
Cheers!
Nick
[[alternative HTML version deleted]]
_______________________________________________
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/
Nick Matzke
2015-04-26 23:23:11 UTC
Permalink
Yep, that's it exactly. Thanks guys!
Nick
Post by Liam J. Revell
Hi Nick.
I'm not sure if this is what you mean, but have you tried the function
ladderize from the ape package?
All the best, Liam
Liam J. Revell, Assistant Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
blog: http://blog.phytools.org
Post by Nick Matzke
Hi all,
In FigTree, there is an option (Left menu->Trees->Order nodes->increasing,
or decreasing) to plot trees and order them such that the higher
nodes/tips
in the tree plot at the top or bottom of the plot.
Does anything like this exist for plotting trees in R? Or do I have to
hunt-n-peck and manually rotate nodes 1-by-1 until it looks right?
(yes, I could save the tree out from FigTree and use that, but I want to
automate this plotting function without a FigTree step)
Cheers!
Nick
[[alternative HTML version deleted]]
_______________________________________________
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at
_______________________________________________
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at
[[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/
Loading...