Description Usage Arguments Value
Given the original case or control genotype matrix, return the edited correlation matrix. In the check_hom_matrix, we are trying to solve the problem that the whole column is homozygous. But this NA correlation pairs happens when one column is not homozygous, but when paired with another column, the non-missing values might be homozygous. And it will return the edited correlation matrix while check_hom_matrix return the edited genotype probability matrix.
1 | cor.X.function(X1, hom = 1, multiplier = 1, snp_loop)
|
hom |
with value 1 or 2. 1 means making changes with the 1st nonNA element, 2 means making changes with a random nonNA element |
multiplier |
with value 1 or 2, 1 is dividing by 2 and 2 is mulitpling by 2. |
snp_loop |
will tell the relative location of the probablematic snp. |
X |
the expected condidtional genotype probablity matrix for grouped rare variants |
cor.X the edited correlation from the expected condidtional genotype probablity matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.