I have rna seq data , I trying to make heatmap but there are certain values which are quite low the lower range goes to some extent ,meanwhile the upper range is reasonable .So im trying to scale the data.Now my question if im scaling the data would it preserve the true biological meaning because when i plot scaled data vs the data thats not scaled i see a quite a difference
Any suggestion would be highly appreciated
I am not sure if I understand your question right, although a colleague had once scaled the color range of the heatmap using a log scale. He plotted a histogram of the FPKM values to decide the color range.
P.S. I am not sure if the biological sense is retained, but I presume it should still make sense.
well i have values in order of -50 ,-60 i certainly dont want to put that in heatmap but at the same time i want to retain those differences .Im using pheatmap it doesn;t have the heatmap.2 kind thing where you can plot the histogram or density sort of thing .
RPKM or FPKM values are according to me relative in a linear scale. For example, if your values range from -50 to 500, you could make -50 relative to 0. In that case, your values on the heatmap would be 0-550, but I'm not sure if it would be considered data manipulation. I would wait for someone to reply on that.
thats true but it may be noise as well so im not sure..
Yes, that certainly is a possibility you can't rule out. I would however like to know how did you get readcounts in the negative scale, and what that means.
well those are all FPKM values so i have like 5 cell type data i think most likely they are getting highly down-regulated perhaps unless its noise