Thank you for your reply. I checked the results between the two. Of the top 50 most significant comparisons, 27 genes are common. I have more significant genes detected when I use a dataset containing only the pair of interest.
out of 13297 with nonzero total read count
adjusted p-value < 0.1
LFC > 0 (up) : 83, 0.62%
LFC < 0 (down) : 132, 0.99%
outliers [1] : 119, 0.89%
low counts [2] : 1021, 7.7%
(mean count < 5)
But when I use the whole set and use contrast to get the comparison of interest, I have:
out of 13737 with nonzero total read count
adjusted p-value < 0.1
LFC > 0 (up) : 19, 0.14%
LFC < 0 (down) : 30, 0.22%
outliers [1] : 86, 0.63%
low counts [2] : 1057, 7.7%
I think the second approach might be better as like you mentioned, there will be a better estimation of variation in the gene.
Cross-posted on Bioconductor: https://support.bioconductor.org/p/131229/
thjnant, when you do this, in future, can you mention it in your question?
So sorry for cross-posting. I mentioned it in my post in bioconductor forum. I will now add it to my question here too.
Sure thing. Oh, it's no problem - just helps so that users do not duplicate efforts.