create_beast2_input_state: Creates the "state" section of a BEAST2 XML parameter file

View source: R/create_beast2_input_state.R

create_beast2_input_stateR Documentation

Creates the 'state' section of a BEAST2 XML parameter file

Description

Creates the 'state' section of a BEAST2 XML parameter file, without being indented.

Usage

create_beast2_input_state(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 state tag has these elements:

   <state[...]>
       <tree[...]>
       [...]
       </tree>
       [parameters]
    </run>

Value

lines of XML text

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_beast2_input_state to create the XML text of the tree tag. to create the XML text of the [parameters] section.


ropensci/beautier documentation built on April 2, 2024, 5:01 a.m.