**30**wrote:

Dear all,

I did DEG analysis for two condition with 5 time points using deseq2. In heatmap I have one colour for each DEG with lowest p- value which represent log2 fold change (wald test) for each deg in time 0. My question is that I have 4 sample in time point 1 vs 4 sample in time 0. But I see only one colour for all, as time0-vs-1. Is this colour from mean or median of all LFCs of 4 samples? Or there is an algorithm behind that in heatmap? Many thank in advance for your help, Cheers, Rahel

**6.2k**• written 2.7 years ago by rahel14350 •

**30**

A picture is always better than a hundred words. Consider posting an example image.

62kLink to Bioconductor post

https://support.bioconductor.org/p/83903/#83905

1.7k