[Phylobase-devl] node retrieval
Thibaut Jombart
jombart at biomserv.univ-lyon1.fr
Mon Mar 3 16:14:35 CET 2008
Ben Bolker wrote:
> 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?
>
> ?
>
That seems good to me. BTW, what do we intend by 'node'? In a phylo4
object, we use 'node' for internal nodes. But printing a phylo4 object,
'node' refers to any taxonomical unit. This may be annoying since users
can be using both.
Cheers,
Thibaut.
More information about the Phylobase-devl
mailing list