Ewing et al. (2004) MCMC
Ewing_2004_mcmc.Rd
Runs an MCMC chain using the MCMC method from Ewing et al. (2004) with Gamma-distributed priors
Arguments
- N
Total number of MCMC iterations to complete
- strphylo
Initial structured phylogenetic tree
- coal_rate
Initial estimate of coalescent rates
- bit_mig_mat
Initial estimate of backward-in-time migration rates matrix
- cr_mode
Coalescent rates prior mode
- cr_var
Coalescent rates prior variance
- mm_mode
Backward-in-time migration rates prior mode
- mm_var
Backward-in-time migration rates prior variance
- output_dir
Directory to output log files to
- run_name
Run name to save log files as
- stdout_log
(logical) Output logs to stdout()? Default true
- thin
Thinning rate for continuous parameter posterior samples
- save_migration_history
Logical value indicating whether tree samples are saved (i.e. whether .trees file is created)
- migration_history_thin
Thinning rate for tree samples to be saved
- proposal_rates
Relative rates of migration history and continuous parameter updates (migration history : coalescent rates : migration rates)