Last chance! 50% off unlimited learning
Sale ends in
Create an MCMC configuration for testing.
create_test_mcmc(
chain_length = 3000,
store_every = 1000,
pre_burnin = 0,
n_init_attempts = 10,
sample_from_prior = FALSE,
tracelog = create_test_tracelog(),
screenlog = create_test_screenlog(),
treelog = create_test_treelog()
)
an MCMC configuration
length of the MCMC chain
number of states the MCMC will process
before the posterior's state will be saved to file.
Use -1 or NA
to use the default frequency.
number of burn in samples taken before entering the main loop
number of initialization attempts before failing
set to TRUE to sample from the prior
a tracelog
,
as created by create_tracelog
a screenlog
,
as created by create_screenlog
a treelog
,
as created by create_treelog
Richèl J.C. Bilderbeek
Use create_mcmc
to create a default BEAST2 MCMC
if (is_on_ci()) {
# Create an MCMC chain with 50 states
mcmc <- create_test_mcmc()
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
get_fasta_filename(),
beast2_input_file,
mcmc = mcmc
)
file.remove(beast2_input_file)
remove_beautier_folder()
}
Run the code above in your browser using DataLab