I have an RNA-seq experiment with 4 time points, and I would like to identify genes that change significantly in one direction and then later change significantly in the other direction (broadly speaking, I'm looking to distinguish between genes that change transiently and genes whose change is maintained through the last time point). In order to do this, I need to look at (potentially) all 6 possible contrasts between time points. I would like to use a common significance threshold for all 6 contrasts, so I'm looking at limma's decideTests
function with method = "global"
. However, 3 of these 6 contrasts are necessarily linear combinations of the other 3, and I don't know whether that is a problem for decideTests. Is it ok to use decideTests in this way or is there an assumption in decideTests that all the tested contrasts are linearly independent that would cause it to return a bad or unreliable result for this use case? If decideTests is not suitable, is there some other way I should be going about this?