Hi
I was curious to fish out genes that are unaffected no-matter what was the condition. I am comparing GE in two tissues and I was hoping to find some genes whose expression doesn't vary.
For such genes, which do not show changes at genic level, I wish to see if there are changes at the isoform level or not.
Having said that I was using the following code to subset the genes (considering genes with FC<1.5 as unaffected genes)
subset(res, padj<=0.05 & abs(l$log2FoldChange)<0.58)
However, I don't get any genes at these cutoffs
Think about it. Pvalues are the probabilities that the Null (typically that the FC is 0) is true. Hence, if you filter for p < 0.05 you get the genes that have a low probability to be zero, so the opposite of what you want. I guess a reasonable filter for strong evidence of no DE would be a large nominal p-value, a small FC close to 0 and a proper basemean to ensure genes are decently expressed.
Thanks, ATpoint
Yes, I realized a day after posting it and going through the vignette again. Our Null hypothesis in starting is usually that there is no change in the gene expression. If the padj values < 0.05 we reject the null hypothesis and accept the alternate hypothesis that there is a significant change in gene expression. So to fish out genes that are not affected by treatment, maybe I need to consider
padj>0.05
criteria. Having said that, I need to confirm this: So for genes withpadj>0.05
, the LFC values doesn't make any sense (even if they are as small as 0.6 or s high as 22)? So criteria of using merely padj would suffice, right?