Recology

R/etc.

A simple function for plotting phylogenies in ggplot2

    ggplot2 Phylogenetics R
 Source: .Rmd/.md

UPDATE: Greg jordan has a much more elegant way of plotting trees with ggplot2. See his links in the comments below.


I wrote a simple function for plotting a phylogeny in ggplot2. However, it only handles a 3 species tree right now, as I haven’t figured out how to generalize the approach to N species.

Any ideas on how to improve this?



comments powered by Disqus