[R-sig-phylo] Information on {ape] function nodelabels

2013-03-25 Thread Nicholas Crouch
Hi, Hoe does the function nodelabels match data to the phylogeny? Ancestral reconstruction produces a vector with a sample output: st [,1] [,2][,3] [,4][,5] [1,] 0.0001381085 0.007642601 0.01638118 0.001591162 0.001268793 [2,] 0.9998618915 0.992357399

Re: [R-sig-phylo] Information on {ape] function nodelabels

2013-03-25 Thread Liam J. Revell
Hi Nicholas. The nodes in a phylo object are numbered 1:tree$Nnode+N, where N is the number of tips in the tree tree$Nnode is the number of nodes. That means if your tree has 10 tips and 9 internal nodes, the node numbers will be 11, 12, 13, ..., 19. To use nodelabels(...,pie=XX) you can