create_site_model_parameters_xml: Internal function to creates the XML text for the...

View source: R/create_site_model_parameters_xml.R

create_site_model_parameters_xmlR Documentation

Internal function to creates the XML text for the parameters within the siteModel section of a BEAST2 parameter file.

Description

Internal function to creates the XML text for the parameters within the siteModel section, which is part of the siteModel section of a BEAST2 parameter file.

Usage

create_site_model_parameters_xml(inference_model)

Arguments

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.

Details

The parameters sections has these elements:

   [parameters]

[parameters] can be a combination of these:

  <parameter id="mutationRate.s[...]>
  <parameter id="gammaShape.s[...]>
  <parameter id="proportionInvariant.s[...]>

Value

the site model as XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.