Will stop if the inference model is invalid
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.
See also
create_inference_model
: create an inference modelcreate_mrca_prior
: create an MRCA prior
Examples
check_empty_beautier_folder()
# No MRCA prior
inference_model <- create_inference_model(
mrca_prior = NA
)
has_mrca_prior(inference_model) # Returns FALSE
#> [1] FALSE
# A default MRCA prior
inference_model <- create_inference_model(
mrca_prior = create_mrca_prior()
)
has_mrca_prior(inference_model) # Returns TRUE
#> [1] TRUE
check_empty_beautier_folder()