rnd_phylo_to_xml_init {beautier}R Documentation

Creates the XML of a random phylogeny, as used in the init section

Description

Creates the XML text for the beast tag of a BEAST2 parameter file, which is directly after the XML declaration (created by create_xml_declaration.

Usage

rnd_phylo_to_xml_init(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 init tag has these elements:

  <init id=\"RandomTree.t:[...]>
      <populationModel[...]>
      [...]
      </populationModel>
  </init>

Value

the phylogeny as XML text

Author(s)

Richèl J.C. Bilderbeek


[Package beautier version 2.6.12 Index]