get the test statistic and p-value based on permutation using robust max-type edge-count test
permu_max(R1_list, R2_list, R1_test, R2_test, n1, n2, n_per)
The p-value based on permutation distribution using robust max-type graph-based test.
list of permuted weighted within-sample edge-counts of sample 1
list of permuted weighted within-sample edge-counts of sample 2
weighted within-sample edge-counts of sample 1
weighted within-sample edge-counts of sample 2
number of observations in sample 1
number of observations in sample 2
number of permutations