create_subst_model_xml: Internal function to create the 'substModel' section

View source: R/create_subst_model_xml.R

create_subst_model_xmlR Documentation

Internal function to create the substModel section

Description

Internal function to create the substModel section

Usage

create_subst_model_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.

Value

the substModel section as XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# Inference model must be initialized
inference_model <- create_inference_model(
  site_model = create_jc69_site_model(id = 123)
)
create_subst_model_xml(
  inference_model = inference_model
)

check_empty_beautier_folder()

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