[R-sig-phylo] Sampling from all bifurcating and multifurcating trees

2013-12-24 Thread Eduardo Ascarrunz
Thanks Joe! I'll check out your refs. If I understand the code correctly, the rtree function in ape seems to implement something very much like the method for you described for bifucating trees. I'm guessing it could be adapted to implement the multifurcate method as well. I'll have to develop my

Re: [R-sig-phylo] Sampling from all bifurcating and multifurcating trees

2013-12-24 Thread Joe Felsenstein
Eduardo Ascarrunz ear...@gmail.com wrote: Also, I figured out I could work with unrooted trees. I suspect the procedure would be similar to your rooted method, wouldn't it? There is a 1-1 correspondence between n-species rooted tree topologies and (n+1)-species unrooted tree topologies (this