analyze_MCMC(MCMC, burnin = 100)
A list that contains the outputs of the contam_MCMC function, including the rho output, the allele frequency output, and the z value output from all sweeps.
The number of sweeps at the beginning of the MCMC that will be disregarded for analysis.
Returns a list of three named components:
A vector containing the posterior mean of the allele frequencies for each allele.
One value, which is the poterior mean of the contamination proportion.
A vector containing the posterior mean of the z value for each individual. A z_pm value 1 at the ith index would indicate that the ith individual was indentified as contaminated in each sweep.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.