Imported derfinder::fstats.apply(). Having the function in a separate package should speed up the permutation cycles when using BiocParallel::SnowParam()