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

View source: R/permu_max.R

permu_maxR Documentation

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)

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

Value

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


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