i am suppose to do the gwas analysis and but because am not very familiar with it have a question about preparing data for mach2qtl.
the model i have to analyze is:
trait ~ SNP*age + SNP + age + sex
and i am not really sure how to get the SNP*age bit. Normally when the model is for example
trait ~ SNP + age + sex
i am simply doing linear regression against age and sex, getting the residuals which then am putting into mach2qtl.
don't know if anyone will be able to help me, but would really appreciate any help or tips how to do it.