View source: R/make_bladj_tree.R
make_bladj_tree | R Documentation |
The function takes a tree topology and uses the BLADJ algorithm
implemented with phylocomr::ph_bladj()
to assign node ages and branch lengths, given a
set of fixed node ages and respective node names.
make_bladj_tree(tree = NULL, nodenames = NULL, nodeages = NULL)
tree |
A tree either as a newick character string or as a |
nodenames |
A character vector with names of nodes in tree with known ages |
nodeages |
A numeric vector with the actual ages of named nodes |
Input tree
can be dated or not, $edge.length
is ignored.
Ages given in nodeages
are fixed on their corresponding nodes given in nodenames
.
A phylo
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.