I have preformed multiple tests and now have a list of all the calculated P-Values (~30K^2 values). I have a reason to believe my tests are somehow dependent.
I would like to analyze the results and correct the p-values.
Unfortunately, I only have very basic knowledge in statistics. From the little I managed to gather, I think the Benjamini Hochberg method for FDR control should be suitable for my needs.
My questions are:
Am I right?
If so, I'd like to implement a code that preforms this calculation. Is the following code correct: http://www.augix.com/wiki/index.php/Benjamini_and_Hochberg_FDR_control and does it calculate the cutoff for my case?