create_beast2_run_cmd {beastier} | R Documentation |
Creates the terminal command to run BEAST2
Description
Creates the terminal command to run BEAST2
Usage
create_beast2_run_cmd(
input_filename,
output_state_filename,
rng_seed = NA,
n_threads = NA,
use_beagle = FALSE,
overwrite = FALSE,
beast2_path = get_default_beast2_path(),
verbose = FALSE
)
Arguments
input_filename |
the name of a BEAST2 input XML file.
This file usually has an |
output_state_filename |
name of the BEAST2 output file that
stores the state
(usually has a |
rng_seed |
the random number generator seed of the BEAST2 run.
Must be a non-zero positive integer value or NA.
If |
n_threads |
the number of computational threads to use. Use NA to use the BEAST2 default of 1. |
use_beagle |
use BEAGLE if present |
overwrite |
if TRUE: overwrite the
|
beast2_path |
name of either a BEAST2 binary file
(usually simply |
verbose |
if TRUE, additional information is displayed, that is potentially useful in debugging |
Value
a character vector with the command and arguments to call BEAST2
Author(s)
Richèl J.C. Bilderbeek
Examples
check_empty_beaustier_folders()
if (is_beast2_installed()) {
create_beast2_run_cmd(
input_filename = "input.xml",
output_state_filename = "output.xml.state",
beast2_path = get_default_beast2_jar_path()
)
}
check_empty_beaustier_folders()