site_model_to_xml_prior_distr {beautier} | R Documentation |
Internal function
Description
Converts a site model to XML,
used in the prior
section
Usage
site_model_to_xml_prior_distr(site_model, beauti_options)
Arguments
site_model |
a site model,
as returned by |
beauti_options |
one BEAUti options object,
as returned by |
Value
the site model as XML text
Author(s)
Richèl J.C. Bilderbeek
Examples
site_model_to_xml_prior_distr(
site_model = create_jc69_site_model(id = 1),
beauti_options = create_beauti_options()
)
site_model_to_xml_prior_distr(
site_model = create_hky_site_model(
id = 1,
kappa_prior_distr = create_uniform_distr(id = 2)
),
beauti_options = create_beauti_options()
)
site_model_to_xml_prior_distr(
site_model = create_tn93_site_model(
id = 1,
kappa_1_prior_distr = create_uniform_distr(id = 2),
kappa_2_prior_distr = create_uniform_distr(id = 3)
),
beauti_options = create_beauti_options()
)
site_model_to_xml_prior_distr(
site_model = create_gtr_site_model(
id = 1,
rate_ac_prior_distr = create_uniform_distr(id = 2),
rate_ag_prior_distr = create_uniform_distr(id = 3),
rate_at_prior_distr = create_uniform_distr(id = 4),
rate_cg_prior_distr = create_uniform_distr(id = 5),
rate_gt_prior_distr = create_uniform_distr(id = 6)
),
beauti_options = create_beauti_options()
)
[Package beautier version 2.6.12 Index]