[Phylobase-devl] node retrieval

Ben Bolker bolker at zoo.ufl.edu
Sun Mar 2 17:53:58 CET 2008


   A quick question for everyone (I almost said, "for y'all", I
guess I've lived in Florida a little too long ...)

    right now we have

getNodeByLabel (returns node numbers corresponding
to node labels)

  and

  getLabelByNode (returns node labels corresponding
to node numbers)

   How about:

  getnode(phy,x)  which returns a named vector of node numbers;
if x is an integer, it matches by number, while if x is
a character, it matches by name?

   ?
  (This decision should I think be orthogonal to the question
of how we number and label nodes ...)

   Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.r-forge.r-project.org/pipermail/phylobase-devl/attachments/20080302/b15734a8/attachment.pgp 


More information about the Phylobase-devl mailing list