Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about covariate in regressions #7

Open
MingL196 opened this issue Feb 20, 2019 · 1 comment
Open

Question about covariate in regressions #7

MingL196 opened this issue Feb 20, 2019 · 1 comment

Comments

@MingL196
Copy link

The covariate is used only in Stage 2's testDESeqANODEV function.

However, Stage 1's negative binomial testDESeq (used for pairwise pre-tests) and Stage 2's negative binomial testDESeq (used for pairwise post tests) does not use the covariate.

Should Stage 2's post test control for covariates?
Is there a reason why the covariates are not controlled in these NB tests?

@jeffbhasin
Copy link
Owner

Hi Ming,
I think you are correct about stage 2 post test not using covariates, because it is using the exact test and not the GLM to my recollection in the post-test. We were comfortable that if the ANODEV GLM was significant (that did use the adjustment), we were not worried about the covariate in the post test. However, I think it could be adapted in the code to use the GLM there instead in the stage 2 post-test if you wanted to be sure to incorporate the covariate.

Jeff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants