Internal function to create the substModel
section
Source: R/create_subst_model_xml.R
create_subst_model_xml.Rd
Internal function to create the substModel
section
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.
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
)
#> [1] "<substModel id=\"JC69.s:123\" spec=\"JukesCantor\"/>"
check_empty_beautier_folder()