I have a bunch of measurements over time and I want to plot them in R. Here is a sample of my data. I\'ve got 6 measurements for each of 4 time points:
value
scale_y_log2() will do the transformation first and then calculate the geoms.
scale_y_log2()
coord_trans() will do the opposite: calculate the geoms first, and the transform the axis.
coord_trans()
So you need coord_trans(ytrans = "log2") instead of scale_y_log2()
coord_trans(ytrans = "log2")