Fold-change bar plots with “0” on y axis
This article is originally published at https://logfc.wordpress.com
I see it more and more frequently: bar plots which are supposed to illustrate the regulation of a gene in terms of “fold change”, which include a “0” on the y axis.
It is subtle, but it irks me a lot. Also, the last time I tried to argue with my experimentally working colleagues, I heard that “everybody does it like this” and that I am nit-picking.
What is the fold change? Suppose that you have a before and after measurements, and . Now, the fold change is
Could you replace by and vice versa? Yes, you could define it as , right? Fold change decrease (how many times smaller) rather than fold change increase (how many times larger).
OK, so what does that mean if the fold change is equal to 0?
First, think what it means that the fold change is equal to 0.5. That means that is half of , or that is two times that of .
What about 0.1? That means that is ten times smaller than .
0.01? Hundred times.
0.001? Thousand times.
You see where this is going. As we approach zero, the relation approaches infinity; you could say (incorrectly) that when fold change is equal to zero, is infinitely smaller than .
Of course, this is outside of regular statistics. In other words, a fold change of 0 is meaningless and cannot be computed. If you measured and it was zero, you cannot meaningfully compute the fold change. Putting a zero on the y axis is therefore as meaningfull as putting “infinity”.
For that and other reasons, in many applications one calculates the log-fold change rather than fold change:
That makes the measure nice and symmetric around 0. If is twice higher than , then . If it is half of , then . Also, it follows that and cannot be equal to 0 — because you cannot logarithmize zero.
Moreover, in most applications, logFC is (more or less) normally distributed. Fold change not only isn’t, it is not even possible for it to be. That means that not only putting a zero on the y axis is meaningless; but calculating parametric statistics such as mean and standard deviation of fold change is equally misleading. You simply shouldn’t do that.
But people nonetheless do, and they are happy with that. That is why we cannot have nice things.
Thanks for visiting r-craft.org
This article is originally published at https://logfc.wordpress.com
Please visit source website for post related comments.