Description Usage Arguments Value Author(s) See Also Examples
Get the identifier of the root node from a PhyloSim object.
1 2 | ## S3 method for class 'PhyloSim'
getRootNode(this, ...)
|
this |
A PhyloSim object. |
... |
Not used. |
A numeric vector of length one.
Botond Sipos, Gregory Jordan
For more information see PhyloSim
.
1 2 3 4 5 6 7 | # create a PhyloSim object
sim<-PhyloSim(phylo=rcoal(5));
# get the root node ID
getRootNode(sim)
# get the root node ID via virtual field
sim$rootNode
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.