View source: R/create_site_model_xml.R
create_site_model_xml | R Documentation |
siteModel
tag
of a BEAST2 parameter file.Creates the XML text for the siteModel
tag of
a BEAST2 parameter file,
which is part of the distribution
node for the
treeLikelihood
ID.
create_site_model_xml(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. |
The siteModel
tag has these elements:
<siteModel[...]> [parameters] <substModel[...]> [...] </substModel> </siteModel>
The parameter
section is created by
create_site_model_parameters_xml
The substModel
section is created by create_subst_model_xml
the site model as XML text
Richèl J.C. Bilderbeek
check_empty_beautier_folder()
# <distribution id="posterior"[...]">
# <distribution id="likelihood" [...]>
# <siteModel...>
# [parameters]
# </siteModel>
# </distribution>
# </distribution>
check_empty_beautier_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.