Checks that missing_taxa argument is ok to be used by make_mrbayes_runfile inside tree_add_dates functions.
Source:R/tree_add_dates.R
missing_taxa_check.Rd
Checks that missing_taxa argument is ok to be used by make_mrbayes_runfile inside tree_add_dates functions.
Arguments
- missing_taxa
A tree, a data frame or a vector enlisting all missing taxa you want to include.
- A tree
Either as a phylo object or as a newick character string. It contains all taxa that you want at the end, both missing and non missing. This tree will be used as a hard constraint.
- A
data.frame
It contains two columns named "taxon" and "clade". The first one contains a character vector of missing taxon names. The second one contains a character or numeric vector of nodes from a constraint tree to which each taxon will be assigned.
- A character vector
It contains the names of the missing taxa. They will be added at random to the constraint tree.
- dated_tree
a tree (newick or phylo) with branch lengths proportional to absolute time