View source: R/infer_phylogeny.R
infer_phylogeny | R Documentation |
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
)
alignment |
Phydat object containing the focal alignment |
treatment_name |
string to be appended to BEAST files |
tree_prior |
tree prior used, default = birth-death prior |
clock_prior |
clock prior used, default = strict clock |
mcmc_seed |
seed of the mcmc chain, default is the system time |
chain_length |
length of the mcmc chain, default is 1e7. |
sample_interval |
interval of sampling, default is 5000 |
burnin |
burnin of posterior distribution |
working_dir |
beast2 working dir |
sub_rate |
substitution rate used to generate the original alignment (if available), default is 1 |
list with all trees, and the consensus tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.