50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


beautier (version 2.6.12)

has_tip_dating: Determine if the inference_model uses tip dating.

Description

Determine if the inference_model uses tip dating

Usage

has_tip_dating(inference_model)

Value

TRUE if the inference_model uses tip dating, FALSE otherwise

Arguments

inference_model

a Bayesian phylogenetic inference model. An inference model is the complete model setup in which a site model, clock model, tree prior and more are specified. Use create_inference_model to create an inference model. Use check_inference_model to check if an inference model is valid. Use rename_inference_model_filenames to rename the files in an inference model.

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beautier_folder()

# Yes, has tip dating
has_strict_clock_model(
  create_inference_model(
    tipdates_filename = get_beautier_path("test_output_0_tipdates.tsv")
  )
)

# No tip dating
has_strict_clock_model(
  create_inference_model()
)

check_empty_beautier_folder()

Run the code above in your browser using DataLab