cov.int
).
The covariate for interaction (cov.int
) can be SNP genotype (gene-gene interaction) or an environmental factor (gene-environment interaction). Only one
interaction term is allowed. When (cov.int
) is dichotomous, stratified analyses can be requested by specifying sub
="Y". The covariance between the main
effect (SNP) and the interaction effect is provided in the output when stratified analysis is not requested. The SNP genotype and the interaction are treated
as fixed effectd, and a random effect correlated according to degree of relatedness within a family is also fitted.
In each test for trait-SNP assocaition or interaction, the lmekin()
function from
package coxme
is used.
lmepack.int.batch.imputed(phenfile,genfile,pedfile,phen,kinmat,covars,cov.int,sub="N",
outfile,col.names=T,sep.ped=",",sep.phe=",",sep.gen=",")
covars
Abecasis, G. R., Cardon, L. R., Cookson, W. O., Sham, P. C., & Cherny, S. S. Association analysis in a variance components framework. Genet Epidemiol, 21 Suppl 1, S341-S346 (2001).
## Not run:
# lmepack.int.batch.imputed(phenfile="simphen.csv",genfile="simgen.csv",pedfile="simped.csv",
# phen="SIMQT",kinmat="simkmat.Rdata",outfile="simout.csv",covars=c("age","sex"),
# cov.int="sex",sub="Y",sep.ped=",",sep.phe=",",sep.gen=",")
# ## End(Not run)
Run the code above in your browser using DataLab