Hello,
I realized that the decideTests function in limma selects as differentially expressed only genes whose p-value is less than an alpha threshold, rather than those that are less than or equal to alpha. Taking this to an extreme case, when alpha = 1, some genes are still not selected as differentially expressed. Is there a reason for this? Would it make sense to add a parameter to the function to define whether the alpha threshold is inclusive or exclusive (with default maybe being inclusive)?
Thank you for your suggestions!
Best,
Roberto
decideTests
uses a<=
operator to select DE genes with adjusted p-values below the suppliedp.value
, so I'm not sure how you're getting the behaviour you observe. Please provide a minimum working example to demonstrate.