Learn R Programming

beautier (version 2.6.12)

create_site_model_xml: Internal function to creates the XML text for the siteModel tag of a BEAST2 parameter file.

Description

Creates the XML text for the siteModel tag of a BEAST2 parameter file, which is part of the distribution node for the treeLikelihood ID.

Usage

create_site_model_xml(inference_model)

Value

the site model as XML text

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.

Author

Richèl J.C. Bilderbeek

Details

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

Examples

Run this code
check_empty_beautier_folder()
 # 
 #     
 #       
 #         [parameters]
 #       
 #     
 # 

check_empty_beautier_folder()

Run the code above in your browser using DataLab