Description Usage Arguments Value
GGInterScoreTest
is used to compute the vector of score test statistics for testing the
presence of an interaction effect between two genes on a binary phenotype using a continuous or
categorical modelling of SNPs.
1 2 | GGInterScoreTest(X1, X2, Y, inter.mod = "continuous", perm.method = "parametric",
N = 1000, PC.thresh = 0.05)
|
X1 |
a n x p1 matrix of genotypes (coded as 0/1/2) |
X2 |
a n x p2 matrix of genotypes (coded as 0/1/2) |
Y |
a vector of length n containing the values of the binary phenotype (0/1) |
inter.mod |
a character giving the chosen model for the gene-gene interaction: continuous ( |
perm.method |
a character giving the chosen resampling method for the phenotype: paramatric bootstrap ( |
N |
the number of permutations of the phenotype (default = 1000) |
PC.thresh |
a threshold for the selection of principal components; only those having an eigenvalue above |
A list containing the following elements:
Z |
the vector of test statistics |
Z0 |
the matrix of permuted vectors of test statistics, displayed as rows |
Sigma |
the correlation matrix corresponding to |
Y0 |
the matrix of permuted phenotypes, displayed as columns |
inter.mod |
the chosen interaction model ( |
X1 |
the design matrix corresponding to the first gene |
X2 |
the design matrix corresponding to the second gene |
S |
the design matrix for the interaction effects |
W |
the design matrix for the main effects, containing an intercept and the principal components for the main effects |
undefined.inter |
the indices of the undefined interaction effects, (columns removed from |
ev |
the approximate eigendecomposition of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.