Skip to contents

CIBRA impact score permutation test

Usage

permutation_test(results, perm_dist, test = "perm")

Arguments

results

observations dataframe returned by CIBRA_run

perm_dist

permutation dataframe returned by generate_permutation_dist

test

either 'perm' for permutation test or 'gamma' for gamma fitted permutation test

Value

if test: gamma, list of elements results (dataframe of permutation results), fit_proportion: gamma fitted function for the proportion and fit_sign_area: gamma fitted function for the significant area. Else if test: perm, only a dataframe of the results.

Examples

# See example run_CIBRA