Re: [R-sig-phylo] Collapsing nodes using node.labels

2011-09-28 Thread Emmanuel Paradis
org Date: Wed, 28 Sep 2011 14:10:55 To: Daniel Rafael Miranda-Esquivel; ; Reply-To: emmanuel.para...@ird.fr Subject: Re: [R-sig-phylo] Collapsing nodes using node.labels Hello Daniel, Try this small manipulation ('tr' is your tree and 'node' stores the label of the node): i

Re: [R-sig-phylo] Collapsing nodes using node.labels

2011-09-28 Thread Emmanuel Paradis
iginally no zero-length branch in tr.) HTH Emmanuel -Original Message- From: Daniel Rafael Miranda-Esquivel Sender: r-sig-phylo-boun...@r-project.org Date: Wed, 28 Sep 2011 00:21:43 To: Subject: [R-sig-phylo] Collapsing nodes using node.labels Hello all, I am trying to colla

[R-sig-phylo] Collapsing nodes using node.labels

2011-09-27 Thread Daniel Rafael Miranda-Esquivel
Hello all, I am trying to collapse some nodes in a tree but using node.label and not edge.length, is there a way to convert node.label to edge.length? or a function to collapse a node but using node.label directly? Daniel ___ R-sig-phylo mailing l