DESeq2 and shrinkage
1
0
Entering edit mode
ju__ra • 0
@ju__ra-24361
Last seen 5.1 years ago

Hi,

at the moment I am analysing a simple dataset comparing two conditions using DESeq2. For DEG calling i usually go for padjust < 0,05 and foldchage of > 2. I am always wondering whether I should use for that the shrinked fold change or the fold change deseq2 is giving me straight after the analysis.

My code ist pretty straight forward using apeglm for shrinkage. A typical scatterplot I get after the analysis looks like this. I use the following code to extract the counts:

normalized_counts <- data.frame(counts(dds, normalized=TRUE))

Lots of gens which look like DEG in the plot are not due to shrined log2folchange. Is there any issue in my pipeline in your opinion?

Link to Scatterplot: https://ibb.co/HNF4nNZ

deseq2 • 706 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 3 days ago
United States

If you want to filter for LFC > 1, I would recommend to incorporate that into the test with:

res <- results(dds, lfcThreshold=1)

The shrunken LFC are good for ranking genes by effect size and for visualization. Note that you can also use lfcThreshold in lfcShrink(), but it will convert from adjusted p-value to s-value which has a different interpretation (see apeglm paper).

ADD COMMENT

Login before adding your answer.

Traffic: 606 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6