tipdate_taxa_to_xml_trait: Internal function

View source: R/tipdate_taxa_to_xml_trait.R

tipdate_taxa_to_xml_traitR Documentation

Internal function

Description

Internal function to creates the 'trait' section of a BEAST2 XML parameter file, which is part of a 'tree' section, without being indented.

Usage

tipdate_taxa_to_xml_trait(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:

<run[...]>
  <state[...]>
    <tree[...]>
      <trait[...]>
      This part
      </trait>
    </tree>
  </run>
</state>

Value

lines of XML text

Author(s)

Richèl J.C. Bilderbeek


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