**10**wrote:

Dear all,

can anyone help me with this question which I added in Biostar (https://www.biostars.org/p/197038/)

I pasted here to make it easier:

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

**10**• written 3.2 years ago by rahel14350 •

**10**