I am reading from this where they mention running 500K fisher exact test to find significant associations between different DNA changes and a phenotype.
They also mention that Bonferroni, Benjamini, and FDR can be used to set a significance threshold, which I think I understand.
What I don't get is that they say permutation can also be used to set a significance threshold. How can you use permutation on fisher exact test output to set a significance threshold?