View source: R/create_tree_prior.R
create_tree_prior | R Documentation |
Internal function to create a tree prior
create_tree_prior(name, id, ...)
name |
the tree prior name. Can be any name
in |
id |
the ID of the alignment |
... |
specific tree prior parameters |
a tree_prior
Prefer the use the named functions
create_bd_tree_prior
,
create_cbs_tree_prior
,
create_ccp_tree_prior
create_cep_tree_prior
and create_yule_tree_prior
instead
Richèl J.C. Bilderbeek
See
create_bd_tree_prior
,
create_cbs_tree_prior
,
create_ccp_tree_prior
create_cep_tree_prior
and create_yule_tree_prior
for more examples using those functions
if (is_on_ci()) {
check_empty_beautier_folder()
beast2_input_file <- get_beautier_tempfilename()
bd_tree_prior <- create_bd_tree_prior()
cbs_tree_prior <- create_cbs_tree_prior()
ccp_tree_prior <- create_ccp_tree_prior()
cep_tree_prior <- create_cep_tree_prior()
yule_tree_prior <- create_yule_tree_prior()
# Use any of the above tree priors
create_beast2_input_file(
input_filename = get_fasta_filename(),
beast2_input_file,
tree_prior = bd_tree_prior
)
file.remove(beast2_input_file)
remove_beautier_folder()
check_empty_beautier_folder()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.