Create a Coalescent Bayesian Skyline tree prior

create_cbs_tree_prior(id = NA, group_sizes_dimension = 5)

Arguments

id

an alignment's IDs. An ID can be extracted from its FASTA filename with get_alignment_ids_from_fasta_filenames)

group_sizes_dimension

the group sizes' dimension, as used by the CBS tree prior (see create_cbs_tree_prior)

Value

a Coalescent Bayesian Skyline tree_prior

See also

An alignment ID can be extracted from its FASTA filename using get_alignment_id

Author

Richèl J.C. Bilderbeek

Examples

cbs_tree_prior <- create_cbs_tree_prior()

beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
  input_filename = get_beautier_path("test_output_6.fas"),
  beast2_input_file,
  tree_prior = cbs_tree_prior
)
file.remove(beast2_input_file)
#> [1] TRUE