Hi,

I am trying to visualize a few different character traits on a tree using
phytools. My tiplabels are colored by sampling location and I'd like to add
alongside the tree a color bar that represents values of a discrete
character trait (bacterial serotypes) for each tip sample. There is a nice
explanation for how to do this for a continuous trait (
http://blog.phytools.org/2014/03/putting-barplot-next-to-plotted-tree.html)
and I'm wondering a way to visualize a discrete trait instead.

Thank you for your help!

        [[alternative HTML version deleted]]

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

Reply via email to