permu_gen: get the test statistic and p-value based on permutation using...

View source: R/permu_gen.R

permu_genR Documentation

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)

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

Value

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


rgTest documentation built on Aug. 14, 2023, 5:08 p.m.