create_rate_at_param | R Documentation |
Create a parameter called 'rate AT'
create_rate_at_param(id = NA, estimate = TRUE, value = "1.0", lower = "0.0")
id |
the parameter's ID |
estimate |
TRUE if this parameter is to be estimated by BEAST2, FALSE otherwise |
value |
value of the parameter |
lower |
lowest possible value of the parameter. If the parameter
is estimated, |
a parameter called 'rate AT'
Richèl J.C. Bilderbeek
the function create_param
contains a list
of all parameters that can be created
if (is_on_ci()) {
# Create parameter
rate_at_param <- create_rate_at_param(value = 1, estimate = FALSE)
# Use the parameter to create a BEAST2 input file
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
input_filename = get_fasta_filename(),
beast2_input_file,
site_model = create_gtr_site_model(
rate_at_param = rate_at_param
)
)
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.