infer the time calibrated phylogeny associated with the provided alignment. This function uses the R package babette to infer the phylogeny using BEAST2.
infer_phylogeny(
alignment,
treatment_name,
tree_prior = beautier::create_bd_tree_prior(),
clock_prior = beautier::create_strict_clock_model(),
mcmc_seed = NULL,
chain_length = 1e+07,
sample_interval = 5000,
burnin = 0.1,
working_dir = NULL,
sub_rate = 1
)list with all trees, and the consensus tree
Phydat object containing the focal alignment
string to be appended to BEAST files
tree prior used, default = birth-death prior
clock prior used, default = strict clock
seed of the mcmc chain, default is the system time
length of the mcmc chain, default is 1e7.
interval of sampling, default is 5000
burnin of posterior distribution
beast2 working dir
substitution rate used to generate the original alignment (if available), default is 1