slamballais / QDECR

The QDECR package for vertex-wise analyses in R
11 stars 0 forks source link

Make the multiple testing correction function-based #21

Open slamballais opened 4 years ago

slamballais commented 4 years ago

Right now, the multiple testing correction is hard-coded. It needs to be separate out as a function, so that users can set which type of multiple testing they want, and then set arguments within that function. Examples of what it would look like

qdecr(mtc = qdecr_fdr()) qdecr(mtc = qdecr_mcz(cft = 3, cwp = 2)) qdecr(mtc = qdecr_perm(n = 1000, fdr = TRUE, approximation = "gamma"))