Hi Alastair, It's not an R-based solution, but I've written a small python program to handle this very task. It takes advantage (and requires the previous installation) of the DendroPy library written by Jeet Sukumaran and Mark Holder. It should be able to handle polytomies without a problem (I think).
Here's the code: http://webspace.utexas.edu/jmb2239/transferBranchLabels.py Here's a brief blog post describing how to use it: http://geodendron.blogspot.com/2010/05/transferring-support-values-between.html And here's the Dendropy library: http://packages.python.org/DendroPy/ Cheers, Jeremy On Feb 24, 2011, at 3:40 AM, Alastair Potts wrote: > Hi all, > Me again. I was wondering if anyone had a way to plot the bootstrap values > from one tree onto another tree. I have a majority rule consensus tree and a > bootstrap tree, both generated by PAUP, but not identical (but very close to > identical). > > I would like to plot the bootstrap values from the one tree to the MJC tree. > Obviously the trees are not identical, but they share the same tip labels. > I've been playing around with the node.trans() function from the phyloch > library, but can't seem to figure out how this will help me. > > Anyone got any ideas? > > Thanks in advance for your time, > > Cheers, > Alastair > > _______________________________________________ > R-sig-phylo mailing list > R-sig-phylo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Jeremy M. Brown NSF Bioinformatics Postdoc University of California, Berkeley Integrative Biology Department 3060 Valley Life Science Building Berkeley, CA 94720-3140 (Beginning August 2011) Assistant Professor Louisiana State University Dept. of Biological Sciences 202 Life Sciences Building Baton Rouge, LA 70803 http://www.phyleauxgenetics.org/ _______________________________________________ R-sig-phylo mailing list R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo