Calculate p-values based on feature vectors and their types
Source:R/solutions_matrix.R
calc_assoc_pval.Rd
Calculate p-values based on feature vectors and their types
Arguments
- var1
A single vector containing a feature.
- var2
A single vector containing a feature.
- type1
The type of var1 (continuous, discrete, ordinal, categorical).
- type2
The type of var2 (continuous, discrete, ordinal, categorical).
- 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.