Given a matrix of prior probabilities for the genotypes at each SNP, this function will calculate the prior variance of genotypes.
pvcalc(priormat)
A matrix of prior genotype probabilities. Element
priormat[i, j]
is the prior probability of dosage j
at SNP i
.
A vector of prior variances.