Last chance! 50% off unlimited learning
Sale ends in
Create a Coalescent Constant Population tree prior
create_ccp_tree_prior(
id = NA,
pop_size_distr = create_one_div_x_distr(value = 0.3)
)
a Coalescent Constant Population tree_prior
the ID of the alignment
the population distribution,
as created by a create_distr
function
Richèl J.C. Bilderbeek
An alignment ID can be extracted from
its FASTA filename using get_alignment_id
if (is_on_ci()) {
ccp_tree_prior <- create_ccp_tree_prior()
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
input_filename = get_fasta_filename(),
beast2_input_file,
tree_prior = ccp_tree_prior
)
file.remove(beast2_input_file)
remove_beautier_folder()
}
Run the code above in your browser using DataLab