def cosegregation(counts_table):
"""
Return the co-segregation frequency of n loci given their
contingency table.
"""
probs_table = frequency_to_probability(counts_table)
if either_locus_not_detected(probs_table):
return np.NAN
return probs_table.flat[-1]
评论列表
文章目录