Arguments
mu
a vetor of the same length as number of positions: the position effect.
delta
a vetor of the same length as number of samples: the sample effect.
pm1
a single value,which is larger than 0 and less than 1: the probability of RR.
p0
a single value,which is larger than 0 and less than 1: the 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.