tree_add_dates {datelife} | R Documentation |
Add missing taxa to a dated tree and fabricate node ages for these missing taxa.
Description
This function adds missing taxa to a chronogram given in dated_tree
.
It is still work in progress.
Usage
tree_add_dates(
dated_tree = NULL,
missing_taxa = NULL,
dating_method = "mrbayes",
adding_criterion = "random",
mrbayes_output_file = "mrbayes_tree_add_dates.nexus"
)
Arguments
dated_tree |
a tree (newick or phylo) with branch lengths proportional to absolute time |
missing_taxa |
A tree, a data frame or a vector enlisting all missing taxa you want to include.
|
dating_method |
The method used for tree dating, options are "mrbayes" and "bladj". |
adding_criterion |
Only used when
|
mrbayes_output_file |
A character vector specifying the name of mrBayes run file and outputs (can specify directory too). |
Value
A phylo
object.