[R-sig-phylo] consensus function hanging

2011-03-09 Thread Alastair Potts
Hi folks, I've run an analysis in PAUP, and 3 equally parsimonious trees were returned. I can read in and plot the tree just fine. However, when I run the consensus function, then R hangs. Any ideas as to the problem? library(ape) tree - read.nexus('HP.A.s1.h2.tree') length(tree) # 3 trees

Re: [R-sig-phylo] consensus function hanging

2011-03-09 Thread Emmanuel Paradis
Hi Alastair, Your trees are unrooted. Have you tried to root them first? I guess a consensus on rooted trees is more meaningful too. Emmanuel Alastair Potts wrote on 09/03/2011 20:51: Hi folks, I've run an analysis in PAUP, and 3 equally parsimonious trees were returned. I can read in and

Re: [R-sig-phylo] consensus function hanging

2011-03-09 Thread Alastair Potts
Hi again, I see that is.binary.tree() is FALSE for tree[[1]]. I think this must be an error from PAUP. I assume that the consensus function requires all trees to pass the is.binary.tree() test? Cheers, Alastair - Alastair