Closed gavinmdouglas closed 4 years ago
Hi Gavin,
Thanks for your comment!
I've updated the source code to reflect this change. I did some testing and didn't see much of an empirical difference in terms of significantly associated taxa or pathways with our default example.
Let me know if you notice any significant effects due to this update.
Thanks again!
No problem!
Just to follow up - it looks like running FDR-correction with a single P-value just leaves the P-value unchanged, so the aldex.ttest2
output columns corresponding to FDR-corrected P-values would have actually just been the raw P-values I believe.
Hi there,
I noticed that the FDR-correction in the
aldex.ttest2
function is performed for each feature individually (as far as I can tell) rather than across all features. Specifically, I'm talking about this code (starting at line 911 inglobal.R
):I would have expected the multiple-test correction to be done like in the below code:
I might be missing something, but I thought I would mention this in case it is a bug.
Thanks,
Gavin