View source: R/node_conversion_ape.R
as.phylo.Node | R Documentation |
Node
to a phylo object from the ape package.This method requires the ape package to be installed and loaded.
as.phylo.Node(x, heightAttribute = DefaultPlotHeight, ...)
x |
The root |
heightAttribute |
The attribute (field name or function) storing the height |
... |
any other argument |
Other ape phylo conversions:
GetPhyloNr()
,
as.Node.phylo()
library(ape)
data(acme)
acmephylo <- as.phylo(acme)
#plot(acmephylo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.