Learn R Programming

rgTest (version 0.1)

permu_max: get the test statistic and p-value based on permutation using robust max-type edge-count test

Description

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

Usage

permu_max(R1_list, R2_list, R1_test, R2_test, n1, n2, n_per)

Value

The p-value based on permutation distribution using robust max-type 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

n1

number of observations in sample 1

n2

number of observations in sample 2

n_per

number of permutations