View source: R/create_beast2_input_distr.R
| create_beast2_input_distr_lh | R Documentation |
distribution tag
with the likelihood ID,
of a BEAST2 parameter file.Creates the XML text for the distribution tag
with the likelihood ID,
of a BEAST2 parameter file,
in an unindented form
create_beast2_input_distr_lh(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 distribution tag (with ID equals likelihood)
has these elements:
<distribution id="likelihood"[...]>
<distribution id="treeLikelihood"[...]>
[...]
</distribution>
</distribution>
The distribution section with ID treeLikelihood
is created by create_tree_likelihood_distr_xml.
Zooming out:
<beast[...]>
<run[...]>
<distribution id="posterior"[...]>
<distribution id="likelihood"[...]>
[this section]
</distribution>
</distribution>
</run>
</beast>
lines of XML text
this function is not intended for regular use, thus its long name length is accepted
Richèl J.C. Bilderbeek
this function is called by create_beast2_input_distr,
together with create_beast2_input_distr_prior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.