General function to create a clock model
Note
Prefer using the named function
create_rln_clock_model
and create_strict_clock_model
See also
An alignment ID can be extracted from
its FASTA filename using get_alignment_id
.
For more examples about creating a relaxed log-normal clock
model, see create_rln_clock_model
.
For more examples about creating a strict clock
model, see create_strict_clock_model
.
Examples
if (is_on_ci()) {
# Can use any of these models
strict_clock_model <- create_strict_clock_model()
rln_clock_model <- create_rln_clock_model()
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
get_fasta_filename(),
beast2_input_file,
clock_model = strict_clock_model
)
file.remove(beast2_input_file)
remove_beautier_folder()
}