How does deseq2 address intra group variance when calculating log2foldchange
1
0
Entering edit mode
agamemnon • 0
@1c4300e1
Last seen 6 weeks ago
Germany

I have these two examples, where the mean and median of group vs mean and median of group 2 in two instances, I don't understand how in the first instance the log2foldchange is negative, despite the median and mean expression being lower in group 1 vs group 2.

In the second scenario the median of group 1 is higher vs group 2, whereas the mean in group 2 is higher than group 1. I don't understand how in this instance the log2foldchange is positive.

These are the raw counts, the same scenario for the same genes occurred when doing cpm transformation.

Also in both instances there is quite intra-group expression heterogeneity, how does dese2 address this?

Up and down regulation appropriate?

DESeq2 • 289 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 23 hours ago
United States

It's comparing E(K_ij) after accounting for sequencing depth:

https://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#theory-behind-deseq2

Sometimes it can be a bit counterintuitive with bimodal data, as the expectation and the median can be very different. But the model is a NB regression focused on E(K). If you have non NB data there are various other approaches.

ADD COMMENT

Login before adding your answer.

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