bbt_delete_temp_files: Delete all the temporary files created by bbt_run_from_model

Description Usage Arguments Examples

View source: R/bbt_delete_temp_files.R

Description

Delete all the temporary files created by bbt_run_from_model

Usage

1
bbt_delete_temp_files(inference_model, beast2_options)

Arguments

inference_model

a Bayesian phylogenetic inference model, as returned by create_inference_model

beast2_options

'BEAST2' options, as can be created by create_beast2_options

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
if (is_beast2_installed()) {
  # Do a minimal run
  inference_model <- create_test_inference_model()
  beast2_options <- create_beast2_options()
  bbt_run_from_model(
    fasta_filename = get_fasta_filename(),
    inference_model = inference_model,
    beast2_options = beast2_options
  )

  # Cleanup
  bbt_delete_temp_files(
    inference_model = inference_model,
    beast2_options = beast2_options
  )
}

richelbilderbeek/rbeast2 documentation built on Sept. 25, 2020, 5:19 a.m.