init_mrca_prior: Initialize the MRCA prior.

View source: R/init_mrca_prior.R

init_mrca_priorR Documentation

Initialize the MRCA prior.

Description

Initialized by

  • if no alignment ID is set, it is set by reading it from the alignment file

  • if no taxa names are set, these are set by reading these from the alignment file

Usage

init_mrca_prior(input_filename, inference_model)

Arguments

input_filename

A FASTA filename. Use get_fasta_filename to obtain a testing FASTA filename.

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.

Value

an initialized MRCA prior

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/beastscriptr documentation built on April 9, 2024, 2:28 p.m.