Description Usage Arguments Value See Also Examples
Association analysis is conducted between a single SNP and the disease of interest. Estimation results include the parameter estimates and their estimated standard errors, the p-values for significance tests, covariance matrices, and some model information.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Y |
a |
Gc |
a |
Gm |
a |
Xo |
a |
Xc |
a |
Xm |
a |
X.Gm |
a |
G.main |
a vector containing the main SNP effects taking values 'Gc' and/or 'Gm' (default value: c('Gc','Gm')) |
G.int |
an indicator for the presence of Gc x Gm interaction (TRUE for yes and FALSE for no; default value: FALSE) |
mode |
mode of inheritance ('rec' for recessive, 'add' for additive, 'dom' for dominant; default value: 'add') |
prev |
specified disease prevalence (default value: 0.01) |
ind |
a logical variable indicating whether Gm and X.Gm are independent (TRUE for independence and FALSE for dependence, default value: FALSE) |
HWE |
a logical variable indicating whether the HWE assumption is incorporated (TRUE for incorprated and FALSE otherwise; default value: TRUE) |
normalized.genotype |
a logical variable indicating whether the genotypes are normalized (TRUE for normalized and FALSE otherwise, default value: FALSE). If FALSE, Gc and Gm should take values 0 (genotype |
a list with the following elements
|
estimation and significance test results for the new method |
|
estimation and significance test results for the standard logistic regression method |
|
covariance matrix of the estimated parameters by the new method |
|
covariance matrix of the estimated parameters by the standard logistic regression method) |
|
logistic regression model for the penetrance function |
|
daLOG model relating maternal genotype and maternal covariates |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(SampleData)
Y = SampleData[,1]
M = 10 # the number of SNPs
Gc = SampleData[,2]
Gm = SampleData[,12]
X = SampleData[,-(1:(1+2*M))]
res = singleSNP(Y,Gc,Gm,Xo=X,Xc=X,Xm=X,X.Gm=X)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.