Re: [R-sig-phylo] The Speed of Different Methods For Obtaining the Descendant Tip Taxa per Node

2011-03-08 Thread Marcelino de la Cruz
Maybe methods(class=class(myobjetc)) for example: library(ape) data(bird.families) class(bird.families) [1] phylo methods(class=class(bird.families)) [1] +.phyloall.equal.phylo [3] as.hclust.phyloas.matching.phylo [5] c.phylo

[R-sig-phylo] summarising a frequentist test over a Bayesian sample of trees

2011-03-08 Thread Rob Lanfear
Hi All, I have a frequentist test statistic (mean phylogenetic distance (MPD) calculated using picante) that I want to calculate while accounting (as best as I can!) for phylogenetic uncertainty. The test involves calculating a p value by first calculating the observed MPD between a particular

[R-sig-phylo] bind.tree() error

2011-03-08 Thread David Bapst
Hello all, Apologies for sending another post this week, but I've run into a strange error with bind.tree(), as below. I'm binding one tree (clade) to a tip (4, in this case) on another tree (chosen_tree). chosen_tree is a tree from an allTrees() output. bind.tree(chosen_tree,clade,where=tip)

Re: [R-sig-phylo] bind.tree() error

2011-03-08 Thread Klaus Schliep
Hi David, have you checked the ordering of the trees? allTrees returns trees in ''pruningwise ordering. Different functions assume different things how this should look like, but often don't say it explicitely. Things like reorder from ape or phangorn:::reorderPruning (a bit faster) are