Description Usage Arguments Value Functions References Examples
Performs the GCAT test for association between SNPs and trait, and returns the p-values.
1 2 3 4 5 |
X |
a matrix of SNP genotypes, i.e. an integer matrix of 0's, 1's, and 2's. Sparse matrices of class Matrix are not supported (yet). |
LF |
matrix of logistic factors outputed from function |
trait |
vector |
adjustment |
matrix of adjustment variables |
vector of p-values
gcatest
:
gcat.stat
: returns the association statistics instead of the
p-value.
Song, M, Hao, W, Storey, JD (2015). Testing for genetic associations in arbitrarily structured populations. Nat. Genet., 47, 5:550-4.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.