mpp_kinship | R Documentation |
Compute linkage disequilibrium adjusted kinship using the weights computed by the program LDAK. (http://dougspeed.com/ldak/).
mpp_kinship(gp, weights = NULL, power = -1, mk.sel = NULL)
gp |
|
weights |
Two columns |
power |
|
mk.sel |
|
The formula used to compute the kinship is the following:
(1/sum(wj)) [sqrt(wj)(Xj - 2pj)][sqrt(wj)(Xj - 2pj)]'/[(2pj(1-pj))^alpha]
The results return by the function are two times the results given by LDAK using –calc-kins-direct.
Return:
K |
Kinship matrix computed with the LDAK weights. |
Vincent Garin
Astle, W., & Balding, D. J. (2009). Population structure and cryptic relatedness in genetic association studies. Statistical Science, 451-471.
Speed, D., Hemani, G., Johnson, M. R., & Balding, D. J. (2012). Improved heritability estimation from genome-wide SNPs. The American Journal of Human Genetics, 91(6), 1011-1021.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.