Summarize Function of Allele Frequencies
Usage
summarize_allele_freq_fn(
mcmc_results,
fn,
lower_quantile = 0.025,
upper_quantile = 0.975,
merge_chains = TRUE
)
Arguments
- mcmc_results
Result of calling run_mcmc()
- fn
Function that takes as input a simplex to apply to each allele frequency vector
- lower_quantile
The lower quantile of the posterior distribution to return
- upper_quantile
The upper quantile of the posterior distribution to return
- merge_chains
boolean indicating that all chain results should be merged