plot_tree | R Documentation |
The tree is drawn using ggraph
with its dendrogram layout. When
customising it, you may wish to add layers such as
ggraph::geom_node_point()
.
The metadata table is joined onto the tree, so all its column names are
available for use in the various ggraph
geoms.
plot_tree(phylepic, label = .data$name, bootstrap = TRUE)
phylepic |
object of class "phylepic". |
label |
variable in metadata table corresponding to the tip labels (tidy-eval). |
bootstrap |
when |
If phylepic
is specified returns a ggplot, otherwise a function
that when passed a "phylepic" object produces a ggplot for use with
plot.phylepic()
.
Other phylepic plots:
plot.phylepic()
,
plot_bars()
,
plot_calendar()
,
plot_epicurve()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.