View source: R/create_clock_model.R
create_clock_model | R Documentation |
General function to create a clock model
create_clock_model(name, id, ...)
name |
the clock model name. Valid
names can be found in |
id |
a clock model's ID |
... |
specific clock model parameters |
a valid clock model
Prefer using the named function
create_rln_clock_model
and create_strict_clock_model
Richèl J.C. Bilderbeek
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
.
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()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.