Re: [R-sig-phylo] Transforming a data.frame into a phylogenetic tree

2010-01-27 Thread Liam J. Revell
Hi Timothee, Assuming that I figured out your tree format correctly, I have written you a function to translate your tree-as-data-frame into an object of class phylo in R. I attach the disclaimer that this is programmed very inelegantly and may contain errors. It also contains no method for

[R-sig-phylo] Transforming a data.frame into a phylogenetic tree

2010-01-26 Thread Timothee POISOT
Dear users, I am currently doing a model of community assembly, and I would like to integrate phylogenetic information. For each organism, I know its ancestor and the time at which speciation occured. These informations are stored in a data.frame, an example of which is here : PhyloTree