Hi,
I am trying to run some dominance deviation analyses. I noticed that PLINK provides a genotypic option under the --glm flag, which performs marginal tests of deviation from linearity across each SNP.
In the manual, it is mentioned that the recoding for dominance deviation (DOMDEV) is 0 --> 0, 1 --> 1, 2 --> 0 (source:
PLINK manual).
I was wondering if, internally, there is code that orthogonalizes the additive and dom-dev vectors prior to running the three tests. (E.g., 0 --> -p/(1-p), 1 --> 1, 2 --> -(1-p)/p would be a valid orthogonalization, as reported in
Palmer et al., 2023).
I did try searching for threads related to this question, but could only find
this one. Appreciate any clarification on this matter. Thank you!
Alan