[Phylobase-devl] RootEdge returns a NULL?

Sang Chul Choi choi at biology.rutgers.edu
Tue Apr 8 04:30:58 CEST 2008


I am sorry. Please, ignore my previous message.

Thank you,

Sang Chul

On Apr 7, 2008, at 10:28 PM, Sang Chul Choi wrote:

> Hi,
>
> I want to get root node id or label.
>
>> g <- as(rcoal(10), "phylo4")
>> g
>    species.name node ancestor branch.length node.type
> 1            N1   11       NA            NA      root
> 2            N2   12       11  0.0890298523  internal
> ...
>> RootEdge(g)
> [1] NA
>
> I am wondering if RootEdge should return 11 or "N1." It seems to
> return always NA. I am sorry if this is due to my lack of knowledge
> about phylobase package.
>
> Thank you,
>
> Sang Chul
> _______________________________________________
> Phylobase-devl mailing list
> Phylobase-devl at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/phylobase-devl



More information about the Phylobase-devl mailing list