Description Usage Arguments Value Author(s) See Also Examples
Get the tree length from a PhyloSim object.
This method retruns the sum of the edge lengths stored in the aggregated phylo object.
1 2 | ## S3 method for class 'PhyloSim'
getTreeLength(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 tree length
getTreeLength(sim)
# get tree length via virtual field
sim$treeLength
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.