create_rln_clock_model | R Documentation |
Create a relaxed log-normal clock model
create_rln_clock_model(
id = NA,
mean_rate_prior_distr = create_uniform_distr(),
ucldstdev_distr = create_gamma_distr(),
mparam_id = NA,
mean_clock_rate = "1.0",
n_rate_categories = -1,
normalize_mean_clock_rate = FALSE,
dimension = NA,
rate_scaler_factor = 0.75
)
id |
an alignment's IDs.
An ID can be extracted from its FASTA filename
with |
mean_rate_prior_distr |
the mean clock rate prior distribution,
as created by a |
ucldstdev_distr |
the standard deviation of the uncorrelated
log-normal distribution,
as created by a |
mparam_id |
the ID of the M parameter in the |
mean_clock_rate |
the mean clock rate, 1.0 by default
(is called |
n_rate_categories |
the number of rate categories. -1 is default, 0 denotes as much rates as branches |
normalize_mean_clock_rate |
normalize the mean clock rate |
dimension |
the dimensionality of the relaxed clock model. Leave NA to let beautier calculate it. Else, the dimensionality of the clock equals twice the number of taxa minus two. |
rate_scaler_factor |
the strict clock model's operator scaler for the rate. Use an empty string to indicate the default. |
a relaxed log-normal clock_model
Richèl J.C. Bilderbeek
if (is_on_ci()) {
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 = rln_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.