Generates BEAST2 xml for MultiTypeTree
MultiTypeTree_xml.Rd
Generates a .xml file to run BEAST2 using MultiTypeTree with a fixed dated phylogeny.
Arguments
- strphylo
structured phylo object giving initialisation condition for fixed tree run with MultiType Tree
- coal_rate
initial estimate for coalescent rates
- N
total number of MCMC iterations (including burn-in)
- thin
thinning increment for the MCMC
- migration_history_thin
Thinning rate for migration history samples to be saved
- con
A connection object or a character string giving the location for the output xml file (stdout() prints to console)
- run_name
Name for logger files to be saved as
- priors
either 'default' in which lognormal priors are used or 'gamma' in which gamma/inverse gamma priors are used (and prior parameters must be specified)
- proposal_rates
Relative weights of proposal operators (migration rates update : effective population size updates : migration history updates )
- bit_mig_rate
initial estimate for backward-in-time migration matrix