create_beast2_input {beautier} | R Documentation |
Create a BEAST2 XML input text
Description
Create a BEAST2 XML input text
Usage
create_beast2_input(
input_filename,
tipdates_filename = NA,
site_model = create_jc69_site_model(),
clock_model = create_strict_clock_model(),
tree_prior = create_yule_tree_prior(),
mrca_prior = NA,
mcmc = create_mcmc(),
beauti_options = create_beauti_options()
)
Arguments
input_filename |
A FASTA filename.
Use |
tipdates_filename |
name of the file containing the tip dates. This file is assumed to have two columns, separated by a tab. The first column contains the taxa names, the second column contains the date. |
site_model |
a site model,
as returned by |
clock_model |
a clock model,
as returned by |
tree_prior |
a tree priors,
as returned by |
mrca_prior |
a Most Recent Common Ancestor prior,
as returned by |
mcmc |
one MCMC.
Use |
beauti_options |
one BEAUti options object,
as returned by |
Value
a character vector of XML strings
Author(s)
Richèl J.C. Bilderbeek
See Also
Use create_beast2_input_from_model to create the BEAST2 XML input text from an inference model Use create_beast2_input_file to also save it to file.
create_beast2_input_file
shows more examples
Examples
if (is_on_ci()) {
create_beast2_input(
input_filename = get_fasta_filename()
)
}