powered by
Node
This method requires the ape package to be installed and loaded.
as.phylo.Node(x, heightAttribute = DefaultPlotHeight, ...)
The root Node of the tree or sub-tree to be converted
The attribute (field name or function) storing the height
any other argument
Other ape phylo conversions: GetPhyloNr(), as.Node.phylo()
GetPhyloNr()
as.Node.phylo()
library(ape) data(acme) acmephylo <- as.phylo(acme) #plot(acmephylo)
Run the code above in your browser using DataLab