I don’t believe it’s possible to do so using edgeR, as neither a likelihood ratio test nor an F-test provides directional testing like that. You could use limma-voom or limma-trend and then simply re-calculate the p-values using pt with the correct argument for lower.tail, depending on the directionality of your comparison.
Last seen 21 minutes ago
WEHI, Melbourne, Australia
No, we don’t provide one-sided tests in edgeR because we don’t recommend them.
If you compare two groups which have roughly the same number of replicates and sequencing depth, then the one-sided p-value would just be half the two-sided p-value for genes where the logFC is in the same direction as the alternative hypothesis.