How to interpret log2fold values when using numeric contrasts in DESEQ2?
1
0
Entering edit mode
pl23 • 0
@4b83ad99
Last seen 7 months ago
Canada

Hello,

Suppose I have a model with 4 tissue types A, B, C, D and I want to test the differences of the differences. If I use a cell means model and the following code:

results(dds, contrast = c(1,-1,-1,1))

I was wondering how to interpret the output. In particular, does the log fold value give me log(A)-log(B)-log(C)+log(D) = log((A/B)*(D/C))? Setting lfcThreshold then gives a threshold on the above value?

Thank you!

DESeq2 • 465 views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 5 minutes ago
United States

You can't interpret the output directly, but instead you should plot all the significant genes you care to interpret. An alternative that I have used in the past is to use kmeans clustering on the set of significant genes, and then use spaghetti plots to visualize the expression patterns for the K groups.

And yes, the lfcThreshold is based on the logFC, which is log(A)-log(B)-log(C)+log(D).

ADD COMMENT
0
Entering edit mode

Thanks James! The Kmeans clustering is a great idea. I shall definitely try that.

ADD REPLY

Login before adding your answer.

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