Closed genignored closed 3 years ago
I'm not seeing the issue. The second line above shows g1-b1-i- and g1-b1-s1 have kinship coefficient 0, as they should, given that they're not related in the fam file.
2 testped1_g1-b1-i1 testped1_g1-b1-s1 0
g1-b1-s1 to itself is 0.5, as it should be. Monozygotic twins have a kinship coefficient of 0.5. You actually have a kinship coefficient of 0.5 to yourself.
Remember, the kinship coefficient is defined as the probability that two alleles drawn at random from a pair of individuals are IBD. So, given two alleles, M and D, you could draw MM (IBD) MD (not IBD), DM (not IBD) DD (IBD). = 0.5.
Closing - @genignored please reopen if I've missed something obvious!
I think there's an issue with the ped2kinpair() function in skater.
the pedigree looks like so:
But when I run it through the function, we get relationships that don't make sense:
g1_b1-s1 to g1_b1-s1 should be 1, if it displays at all, g1_b1-s1 to g1_b1-i1 should be 0
Thoughts?