Learn R Programming

beautier (version 2.6.12)

create_beast2_input_distr: Creates the distribution section of a BEAST2 XML parameter file.

Description

Creates the distribution section of a BEAST2 XML parameter file.

Usage

create_beast2_input_distr(inference_model)

Value

lines of XML text

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.

Author

Richèl J.C. Bilderbeek

See Also

create_beast2_input

Examples

Run this code
check_empty_beautier_folder()

inference_model <- init_inference_model(
  input_filename = get_fasta_filename(),
  inference_model = create_inference_model(
    beauti_options = create_beauti_options_v2_4()
  )
)
create_beast2_input_distr(
  inference_model = inference_model
)
 # 
 #     
 #       HERE, where the ID of the distribution is 'prior'
 #     
 #     
 #     
 # 

check_empty_beautier_folder()

Run the code above in your browser using DataLab