Computes every posterior probability for each dosage level for each individual at each SNP.
compute_all_post_prob(ploidy, mu, sigma2, alpha, rho)
The ploidy of the species.
A matrix of variational posterior means. The rows index the individuals and the columns index the SNPs.
A matrix of variational posterior variances. The rows index the individuals and the columns index the SNPs.
A vector of allele frequencies for all SNPs.
A vector of inbreeding coefficients for all individuals.
An array. The rows index the individuals, the columns index the
SNPS, and the third dimension indexes the genotypes. Element (i, j, k)
is the return of post_prob
.