Closed thoree closed 4 years ago
I think EP = 0
is correct in this case. Given your mutation matrix it is possible that both parents carry the 4
allele; for example they could both have genotype 1/4
. Therefore POI = 4/4
does not give exclusion.
You are right,thanks. By changing M[4,4]=0 and M[4,3]=1, EP =0.64 as it should.
The code below returns EP = 0; I thought EP > 0
Created on 2019-10-30 by the reprex package (v0.3.0)