Arguments
mu
a vetor of the same length as number of positions: the current estimate of mu.
delta
a vetor of the same length as number of samples: the current estimate of delta.
eta
a single value: the current estimate of eta
pRR
the prior probability of RR
pRV
the prior probability of RV
dat
a n*m matrix: the ith row, jth column of the matrix represents the non-reference counts of ith sample at jth position.
cvg
a n*m matrix: the ith row, jth column of the matrix represents the depth of ith sample at jth position.