create_gamma_distr | R Documentation |
Create a gamma distribution
create_gamma_distr(
id = NA,
alpha = 0.5396,
beta = 0.3819,
value = NA,
lower = NA,
upper = NA
)
id |
the distribution's ID |
alpha |
the alpha shape parameter,
a numeric value.
For advanced usage, use the structure
as returned by |
beta |
the beta shape parameter,
a numeric value.
For advanced usage, use the structure
as returned by |
value |
the initial value for the MCMC |
lower |
the lower bound, the lowest possible value |
upper |
an upper limit of the uniform distribution.
If the upper limits needs to be infinity, set |
a gamma distribution
Richèl J.C. Bilderbeek
the function create_distr
shows an overview
of all supported distributions
if (is_on_ci()) {
gamma_distr <- create_gamma_distr(
alpha = 0.05,
beta = 10.0
)
gtr_site_model <- create_gtr_site_model(
rate_ac_prior_distr = gamma_distr
)
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
input_filename = get_fasta_filename(),
beast2_input_file,
site_model = gtr_site_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.