Calls stop if the MRCA prior is invalid.

check_mrca_prior(mrca_prior)

Arguments

mrca_prior

a Most Recent Common Ancestor prior, as returned by create_mrca_prior

Value

nothing

See also

Use create_mrca_prior to create a valid MRCA prior

Author

Richèl J.C. Bilderbeek

Examples

fasta_filename <- get_beautier_path("anthus_aco.fas")
mrca_prior <- create_mrca_prior(
  alignment_id = get_alignment_id(fasta_filename = fasta_filename),
  taxa_names = get_taxa_names(filename = fasta_filename)
)
mrca_prior <- create_mrca_prior(
 alignment_id = get_alignment_id(fasta_filename = fasta_filename),
 taxa_names = get_taxa_names(filename = fasta_filename)
)
check_mrca_prior(mrca_prior)