Skip to contents

Calculate p-values for all pairwise associations of features 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 feature. Options are "chi_squared" for the Chi-squared test and "fisher_exact" for Fisher's exact test.

Value

A "matrix" class object containing pairwise association p-values between the features in the provided data list.