as.phyloData | R Documentation |
Convert a 'phylo' object into a data frame of edge information and a vector of node information.
as.phyloData(phy, unscaled = FALSE)
phy: |
an S3 object of class 'phylo' ('ape' package), which must be a rooted tree. |
an S3 object of class 'phyloData'
require(ape)
phy <- rtree(20)
as.phyloData(phy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.