Hi everyone!
I'm trying to estimate the additive and dominance SNP effects in order to obtain the allelic substitution effect.
I'm actualy having two problems, one with R and another with PLINK.
The R one:
I'm regressing my phenotypes over my SNPs using both linear regression and mixed modelling. For the additive effects I had no issues (code 0,1,2), but for the dominant one (code 0,1,1) I'm having some troubles.
When I coded my SNPs to do the dominant regression, some loci ended up with just the code "1", which obviously caused problems in my analysis, since, in this case, it is only one sampled level.
So, my question is, what is the right approach in this case? Should I exclude this loci? or maybe do something else?
The PLINK one:
I've been told that --model can do this for me, and estimate both additive and dominant effects:
I'm using
plink --ped mydata.txt --map mymapdata.map --allow-no-sex --pheno myphenodata.txt --out model
I'm getting this error:
Error: --model requires a case/control phenotype.
I' ve read about it in the PLINK page and still don't know what to do, can you guys help me?
Thanks in advance!!
plink
r
snp
dominance
genome