create_rate_ct_param: Create a parameter called 'rate CT'

create_rate_ct_paramR Documentation

Create a parameter called 'rate CT'

Description

Create a parameter called 'rate CT'

Usage

create_rate_ct_param(id = NA, value = "1.0", lower = "0.0")

Arguments

id

the parameter's ID

value

value of the parameter

lower

lowest possible value of the parameter. If the parameter is estimated, lower must be less than value

Value

a parameter called 'rate CT'

Author(s)

Richèl J.C. Bilderbeek

See Also

the function create_param contains a list of all parameters that can be created

Examples

if (is_on_ci()) {

  # Create parameter
  rate_ct_param <- create_rate_ct_param(value = 1)

  # Use the parameter to create a BEAST2 input file
  beast2_input_file <- get_beautier_tempfilename()
  create_beast2_input_file(
    input_filename = get_fasta_filename(),
    beast2_input_file,
    site_model = create_gtr_site_model(
      rate_ct_param = rate_ct_param
    )
  )
  file.remove(beast2_input_file)

  remove_beautier_folder()
}

beautier documentation built on Nov. 2, 2023, 5:08 p.m.