
Creates the XML text for the beast tag of a BEAST2 parameter file.
Source: R/create_beast2_input_beast.R
create_beast2_input_beast.RdCreates 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
create_beast2_input_beast(
input_filename,
inference_model = beautier::create_inference_model()
)Arguments
- input_filename
A FASTA filename. Use
get_fasta_filenameto 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 beast tag has these elements:
<beast[...]>
<data
[...]
</data>
[map names]
<run[...]>
[...]
</run>
</beast>
See also
Use create_beast2_input_from_model to create the complete XML text.
Use create_beast2_input_data to create the XML text for
the data tag only.
Use create_beast2_input_map to create the XML text for
the [map names] part.
Use create_beast2_input_run to create the XML text for
the run tag only.