View source: R/create_beast2_input_distr.R
create_beast2_input_distr | R Documentation |
Creates the distribution section of a BEAST2 XML parameter file.
create_beast2_input_distr(inference_model)
inference_model |
a Bayesian phylogenetic inference model. An inference model is the complete model setup in which a site model, clock model, tree prior and more are specified. Use create_inference_model to create an inference model. Use check_inference_model to check if an inference model is valid. Use rename_inference_model_filenames to rename the files in an inference model. |
lines of XML text
this function is not intended for regular use, thus its long name length is accepted
Richèl J.C. Bilderbeek
create_beast2_input
check_empty_beautier_folder()
inference_model <- init_inference_model(
input_filename = get_fasta_filename(),
inference_model = create_inference_model(
beauti_options = create_beauti_options_v2_4()
)
)
create_beast2_input_distr(
inference_model = inference_model
)
# <distribution id="posterior" spec="util.CompoundDistribution">
# <distribution id="prior" spec="util.CompoundDistribution">
# HERE, where the ID of the distribution is 'prior'
# </distribution>
# <distribution id="likelihood" ...>
# </distribution>
# </distribution>
check_empty_beautier_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.