Interaction Test between SNP * Covariate for a Binary Outcome

Hello,

I found that hail can do interaction test for a continuous outcome using the function, hl.agg.linreg.
Can we do the interaction test between snp and covariate for a binary outcome?

Thanks,
Jaeyoon

Yes, this is possible Jaeyoon. You’d put your multiplicative interaction term into your covariates: https://hail.is/docs/0.2/methods/stats.html#hail.methods.logistic_regression_rows

Ack, unfortunately this is not so simple. The covariates expected in hl.logistic_regression_rows must be column fields, they cannot be entry fields. We are building infrastructure that will make it possible to write logistic regression models like this on Hail’s python interface, but it won’t be ready for some months.

That’s good to know! Some months from now :slight_smile:

Thank you very much for answering my question. I appreciate it.

Best,

Jaeyoon