library(beautier)
# Get an example FASTA file
input_filename <- get_fasta_filename()
# The file created by beautier, a BEAST2 input file
output_filename <- get_beautier_tempfilename()
# Use the default BEAUti settings to create a BEAST2 input file
create_beast2_input_file_from_model(
input_filename,
output_filename,
inference_model = create_inference_model()
)
file.remove(output_filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.