get_beast2_example_filename: Get the full path of a BEAST2 example file

Description Usage Arguments Value Examples

View source: R/get_beast2_example_filename.R

Description

Will stop if the filename is not a BEAST2 example file

Usage

1
2
3
4

Arguments

filename

name of the BEAST2 example file. This should exclude the full path; this function exists to add that full path

beast2_folder

the folder where the BEAST2 is installed. Note that this is not the folder where the BEAST2 executable is installed: the BEAST2 executable is in a subfolder. Use get_default_beast2_folder to get the default BEAST2 folder. Use get_default_beast2_bin_path to get the full path to the default BEAST2 executable.

Value

the full path of a BEAST2 example file, will stop if the filename is not a BEAST2 example file

Examples

1
2
3
if (is_beast2_installed()) {
  get_beast2_example_filename("testJukesCantor.xml")
}

beastier documentation built on Sept. 19, 2021, 5:06 p.m.