Skip to contents

Calculate p-values for all pairwise associations of variables in a data_list

Usage

calc_assoc_pval_matrix(data_list, verbose = FALSE, cat_test = "chi_squared")

Arguments

data_list

A nested list of input data from generate_data_list().

verbose

If TRUE, prints new line everytime a p-value is being calculated.

cat_test

String indicating which statistical test will be used to associate cluster with a categorical variable. Options are "chi_squared" for the Chi-squared test and "fisher_exact" for Fisher's exact test.