This function provides the permutation algorithm to calculate the maximum statistic M
getMpfast(y, x, num.perms = 1000)
Experimental condition/phenotypes, it can be discrete or continuous
The data matrix, each column is for each sample and each row is for different feature.
You can specifiy the number of permutation in the calculation. The default is 1000.
M statistic
p value under permutation
Set-based differential covariance testing for genomics