This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to include interaction in logistic model using plink

I tried using the flag --interaction with --logistic but it always gets deprecated in plink. An err msg says using --linear interaction but that does not work for logistic regression. Anyone knows how to include interaction between phenotype and covariates in additive logistic models using plink?

plink gwas

1 answer

If I understand correctly (using PLINK2)

plink --logistic genotypic interaction --file your_file etc.

so without the --

Example from the manual:

plink --bfile mydata --linear genotypic interaction --covar tmp.cov --parameters 1-4, 7

You are right. It works w/o '--'. Thx!

Log in to answer this question.