beautier: 'beautier': A package to create a 'BEAST2' input file.

Description Author(s) See Also Examples

Description

beautier allows to create a BEAST2 input file, using an R interface. beautier closely follows the interface of BEAUti 2, a GUI tool bundled with BEAST2, including its default settings.

Author(s)

Richèl J.C. Bilderbeek

See Also

These are packages associated with beautier:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  # Get an example FASTA file
  input_filename <- get_fasta_filename()

  # The file created by beautier, a BEAST2 input file
  output_filename <- tempfile()

  # 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()
  )
  testthat::expect_true(file.exists(output_filename))

ropensci/beautier documentation built on May 14, 2019, 8:52 p.m.