[R-sig-phylo] Alter the branch lengths of a Tree

2012-08-28 Thread Fernando Sobral
Hi, I am trying to alter the branch lengths of a phylogeny so that the smaller branch has size igual 1 and the larger branch is the proportional sum of the smaller branchs. For example, if the larger branch is equivalent to ten smaller branchs, it should have size igual to 10. I already tryed use

Re: [R-sig-phylo] Alter the branch lengths of a Tree

2012-08-28 Thread Liam J. Revell
Hi Fernando. I'm not entirely sure what you're going for, but let me try to be of some help. The tree is stored in memory as what is called a list - basically, a set of objects that can be of different types. The branch lengths of the tree are stored in the list element edge.length. So, for