This function divides the sample-by-variable data frame into males and females prior to permutation within sexes.
Useful links