-
Notifications
You must be signed in to change notification settings - Fork 13
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
Batch correction? #11
Comments
Hi @patrickturko, I am also running into a similar issue. Did you ever get this solved? Could you please share what was your strategy in the end? Cheers, |
I'm having a similar issue. From going through the source code, I don't think DEP can handle this sort of experimental design.
@arnesmits would it be possible to explore adding the ability to pass more complex models to DEP::test_diff and the underlying calls on |
This might come a little late, but the key seems to be making the design formula to always have condition (= the variable of interest) always as the first term: diff <- test_diff(data_imp, type = "all", design_formula = formula(~ 0 + condition + stress)) |
I have proteomics data from three cell lines, each of which was exposed to two conditions (control and a drug). I've followed your vignette through normailzation and differential enrichment analysis, and have plotted a PCA, which shows major differences between cell lines and much smaller differences between conditions. I'm concerned that any condition-level differences are swamped by the cell-line differences, and in fact I have no significant proteins.
How do you suggest that I deal with this? In differential expression analysis using DESeq2 or limma I would simply add a model term to indicate the cell line of each sample. Can I do something similar in DEP? Or should I rather do an explicit batch correction using (eg) combat and then do a DEA on the residuals?
Thanks,
Patrick Turko
The text was updated successfully, but these errors were encountered: