get the test statistic and p-value based on permutation using robust generalized edge-count test
permu_gen(R1_list, R2_list, R1_test, R2_test, n_per)
The p-value based on permutation distribution using robust generalized 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 permutations