Hi everybody,
I am producing right now a strange plot while running the DESeq2 workflow when running the command lfcShrink
on the DESeqDataSet object (after running the DESeq
function).
I assume right now that there is an error within my workflow but I can not figure out what the problem. In a nutshell this is what I was running on the dataset:
- import of dataset using
tximport
(RSEM result files), - creation of design matrix using limma,
- creation of DESeqDataSet using the tximport object and the design matrix,
- pre-filtering for low-expressed genes,
- running DESeq function on DESeqDataSet,
- creation of contrast matrix,
- running lfcShrink on the DESeq processed DESeqDataSet.
I can update the code of course but maybe someone has some ideas just based on the plot itself.
Thanks much in advance!
left plot showing results(object=dds,...)
, right plot showing lfcShrink(dds_calc,...)
Both plots plotted using DESeq2::plotMA(...)
.
Hey... Thanks for your quick response...
But no... I do not plot the intercept... (below part of my output)
This design should not be used with LFC shrinkage. The coefficients represent the base level for each group, and you don't want to shrink these to zero. It's essentially shrinking the intercept (each group has its own intercept). You should only use LFC shrinkage on coefficients representing differences between groups.