DEGs from lfcshrink() and results()
1
0
Entering edit mode
BT ▴ 10
@8dfa184d
Last seen 22 months ago
Sweden

Hello, I am generating DEGs using results() and lfcshrink(). I would like to use logFC from lfcshrink() for MA plot and heatmap of top 30 DEGs with the highest logFC DEGs (since the user manual suggested that shrinking logFC is useful for visualisation and ranking).

And then I use DEGs from results() with p<0.05 and abs(logFC)<1 for further enrichment & pathway analysis (since the low expressed genes might be relevant too, but I do not know, therefore don't shrink the logFC to not lose DEGs)

I wonder if this is a good approach or should I use lfcshrink() for all downstream analysis too?

lfcshrink DESeq2 • 1.3k views
ADD COMMENT
4
Entering edit mode
@mikelove
Last seen 2 hours ago
United States

Your approach sounds fine to me.

You can do:

res <- results(dds, ...)
lfc <- lfcShrink(dds, ...)
res$posteriorLFC <- lfc$log2FoldChange

And then all the information is tied to res.

ADD COMMENT

Login before adding your answer.

Traffic: 415 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