plot_densitree | R Documentation |
Get a densiTree plot from a set of opentree_chronograms
plot_densitree(chronograms, include = TRUE, ...)
chronograms |
A list of chronograms as multiPhylo or as a plain list object. |
include |
Boolean or numeric vector. Default to TRUE, keep all chronograms in chronograms. If FALSE, exclude chronograms with only two tips. If numeric, it is used as indices to subset chronograms object. |
... |
Arguments passed on to
|
If [phangorn::densiTree()] throws an error, [plot_densitree()] chooses the chronogram with the most tips as consensus (using [datelife::get_biggest_phylo()]) we found that [phangorn::densiTree()] errors commonly from failing to do a consensus tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.