Re: [R-sig-phylo] collapse descendants of a node to a polytomy

2013-06-22 Thread David Bapst
Hi John, I'm not familiar with any such function either. However, a handy trick for doing this sort of thing is changing the branch lengths of descendant nodes to zero and using the ape function di2multi to collapse those edges, creating a polytomy. Now, it isn't clear to me from your email

Re: [R-sig-phylo] collapse descendants of a node to a polytomy

2013-06-22 Thread John Denton
Hi Liam and David, Thanks for the code! It will be very useful for the trees I'm working with. Two clades are large, and I need to collapse them for diversitree. Best, John John S. S. Denton Ph.D. Candidate Department of Ichthyology and Richard Gilder Graduate School American Museum of