no_taxa_to_xml_tree: Internal function

View source: R/taxa_to_xml_tree.R

no_taxa_to_xml_treeR Documentation

Internal function

Description

Creates the 'tree' section of a BEAST2 XML parameter file, which is part of a 'state' section, without being indented, when there is no tip-dating

Usage

no_taxa_to_xml_tree(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 tree tag has these elements:

   <tree[...]>
       <taxonset[...]>
       [...]
       </taxonset>
    </run>

Value

the random phylogeny as XML text

Author(s)

Richèl J.C. Bilderbeek


ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.