CGEN package, how to set main and interacting variables
1
0
Entering edit mode
p1990 • 0
@p1990-11044
Last seen 6.9 years ago

I have a data frame each row represents a patient.
In there dataframe there are a list of SNPs, a list of lifestyle factors, and an outcome variable alzheimer's disease = 1 or 0.

I am using snp.logistic in the CGEN package to identify interactions between SNPs and between SNPs and lifestyle factors which are causative for alzheimer's disease in patients.

I have read the documentation and searched online.

Firstly, I am not sure how to set the main and interacting variables in the snp.logistic function. How do I know which variables need to be included in the model as main effects and which are interacting variables?

Secondly, when I change snp.var from one SNP to the other the p-value of main variables changes. Why would the predicted influence of main variables such as sex change because snp.var is changed? 

 

Thanks for your help!

cgen • 975 views
ADD COMMENT
1
Entering edit mode
wheelerb ▴ 10
@wheelerb-7948
Last seen 10 months ago
United States

The user needs to specify which variables will be main effects and which will be interacting with the snp. When you change the snp variable, the model changes, and you will get different p-values.

ADD COMMENT

Login before adding your answer.

Traffic: 455 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6