Actually, subtracting the global trend is not completely trivial, because there are error bars on that too, but it is still pretty standard stuff in data analysis