create_beast2_input_run: Creates the "run" section of a BEAST2 XML parameter file

View source: R/create_beast2_input_run.R

create_beast2_input_runR Documentation

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

Description

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

Usage

create_beast2_input_run(
  input_filename,
  inference_model = create_inference_model()
)

Arguments

input_filename

A FASTA filename. Use get_fasta_filename to obtain a testing FASTA filename.

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 run tag has these elements:

   <run[...]>
       <state[...]>
       [...]
       </state>
       <init[...]>
       [...]
       </init>
       <distribution[...]>
       [...]
       </distribution>
       [operator ids]
       [loggers]
    </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 state tag. Use create_beast2_input_init to create the XML text of the init tag. Use create_beast2_input_distr to create the XML text of the distribution tag. Use create_beast2_input_operators to create the XML text of the [operator ids] section. Use create_loggers_xml to create the XML text of the [loggers] part.


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