Learn R Programming

rgTest (version 0.1)

permu_gen: get the test statistic and p-value based on permutation using robust generalized edge-count test

Description

get the test statistic and p-value based on permutation using robust generalized edge-count test

Usage

permu_gen(R1_list, R2_list, R1_test, R2_test, n_per)

Value

The p-value based on permutation distribution using robust generalized graph-based test.

Arguments

R1_list

list of permuted weighted within-sample edge-counts of sample 1

R2_list

list of permuted weighted within-sample edge-counts of sample 2

R1_test

weighted within-sample edge-counts of sample 1

R2_test

weighted within-sample edge-counts of sample 2

n_per

number of permutations