GWAS & Logistic regression in R
1
0
Entering edit mode
7.2 years ago

Hi

I have my genotype data and my phenotype data, I made GWAS with GAPIT tool, but now I would like to use the logistic regression analysis in R, which software is the appropriate ? What would be the first step to work with the data?

Thanks.

R • 3.6k views
ADD COMMENT
1
Entering edit mode
7.2 years ago

A logistic regression is where your dependent, outcome variable is dichotomous or binary (aka logical).

GAPIT is a mixed model linear regression, which means it tries to divide the regressors into fixed and random effects. This is super important in agriculture where most of all the GWAS signals end up being SNPs associated with some inbred line.

They correct for this by this assigning fixed effects to SNPs and call the population a random effect, or vice-versa.

GAPIT assumes a continuous linear outcome variable. There is such a thing as mixed model logistic regression. Actually, I wouldn't be surprised if GAPIT has a logistic method hiding somewhere.

So...is your outcome a number or a category?

ADD COMMENT
0
Entering edit mode

It is a number (0,1)

ADD REPLY
0
Entering edit mode

Is it continuous?

ADD REPLY
0
Entering edit mode

No,I just have 0 and 1

ADD REPLY
1
Entering edit mode

It's probably still ok to use GAPIT for this, you just have to round the responses to 0 or 1, assuming these responses are ordered in some meaningful way

ADD REPLY

Login before adding your answer.

Traffic: 2713 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