Description Usage Arguments Details Value References
Calculates the weighted linear kernel matrix for genotypes
1 | wlin.kernel(X, W.beta)
|
X |
Genotype matrix, each row is a sample and each column is a genetic variant |
W.beta |
two-dimensional weights as in the beta density function |
Let W=diag(w_1,…,w_p) be the diagonal matrix containing the weights of the p genetic variants, where √{w_j}=beta(MAF_j,a_1,a_2), MAF_j is the minor allele frequency of variant j, and (a_1,a_2) are the weights. Then the weighted linear kernel matrix is calculated as K=XWWX^T.
A n by n kernel matrix, where n is the number of subjects.
Wu, M. C. et al. (2011). Rare–variant association testing for sequencing data with the sequence kernel associaiton test. The American Journal of Human Genetics, 89, 82–93.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.