Code to perform FWE-correction for multiple comparisons using permutation testing (see Nichols & Holmes, 2002)
Full citation: Nichols TE, Holmes AP. 2002. “Nonparametric permutation tests for functional neuroimaging: A primer with examples”. Hum Brain Mapp. 15:1–25. doi:10.1002/hbm.1058