Entering edit mode
Hi there,
I know the assocTestSingle can output effect size estimates for the genotype (G) term and interaction (GXE) term when GXE is applied. Is there any way to get the effect size estimate for E term too?
Thanks
Is there any way to involve G and GXE as null model, and then test E effect estimate and its p-value.
such as
null model= covariates + G + GXE
test model= covariates + G + GXE +E
or
null model= covariates + G
test model= covariates + G + GXE +E
Thanks
You could just use the
fitNullModel
function and add a genotype vector to the input data frame. Then you can look at all the effect sizes in the same place. There's no difference in the results between doing that and runningassocTestSingle
; the reason we separate the null model from the model with genotypes is for computational efficiency (the null model only needs to be computed once, then we can test the genotypes in parallel).Thanks. Can I add GxE=c("E") in the fitNullModel? I would like to use the full model covariates + G + GXE +E in the fitNullModel.
Yes, but the syntax is different. You specify an interaction with
":"
: