View source: R/create_beast2_input_from_model.R
create_beast2_input_from_model | R Documentation |
The main two XML tags are these:
<?xml[...]?><beast[...]> [...] </beast>
create_beast2_input_from_model(input_filename, inference_model)
input_filename |
A FASTA filename.
Use |
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. |
a character vector of XML strings
Richèl J.C. Bilderbeek
Use create_beast2_input_file_from_model to also save it to file.
Use create_xml_declaration
to create the XML text of the XML declaration.
Use create_beast2_input_beast to create
to create the XML text of the beast
tag.
if (is_on_ci()) {
check_empty_beautier_folder()
text <- create_beast2_input_from_model(
input_filename = get_fasta_filename(),
inference_model = create_inference_model()
)
check_empty_beautier_folder()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.