signaturescience / skater

SKATE R Utilities
https://signaturescience.github.io/skater/
Other
9 stars 4 forks source link

New function to read in plink2's KING robust estimator results #40

Closed stephenturner closed 3 years ago

stephenturner commented 3 years ago

See https://www.cog-genomics.org/plink/2.0/distance#make_king

results very similar to akt.

#ID1    ID2     NSNP    HETHET  IBS0    KINSHIP
halfSiblings1_g1-b1-i1  halfSiblings1_g1-b1-s1  378000  0.0641429       0.0308889       -0.00139337
halfSiblings1_g2-b1-s1  halfSiblings1_g1-b1-s1  377498  0.0637195       0.0319498       -0.0169869
halfSiblings1_g2-b1-s1  halfSiblings1_g1-b1-i1  378124  0.065907        0.0299849       0.00748943
halfSiblings1_g2-b1-s2  halfSiblings1_g1-b1-s1  378292  0.0620922       0.0321471       -0.0116076
halfSiblings1_g2-b1-s2  halfSiblings1_g1-b1-i1  378481  0.0632581       0.0306568       0.00273461
halfSiblings1_g2-b1-s2  halfSiblings1_g2-b1-s1  378496  0.0642622       0.0316199       -0.00993107
halfSiblings1_g2-b1-i1  halfSiblings1_g1-b1-s1  377796  0.0842968       0       0.246064
halfSiblings1_g2-b1-i1  halfSiblings1_g1-b1-i1  377928  0.0851776       0       0.239257
halfSiblings1_g2-b1-i1  halfSiblings1_g2-b1-s1  377977  0.0629086       0.031949        -0.024253
halfSiblings1_g2-b1-i1  halfSiblings1_g2-b1-s2  378322  0.0613551       0.0322397       -0.0189087