R/visualization-functions.R
association_statistic_for_factors.RdReturns the Cramer's V estimate and the P-value from the Pearson chi-square score between two variables.
association_statistic_for_factors(
factors,
clean_metadata,
na_action = "remove"
)A vector of factor variables.
A data frame with sample identifiers as rownames and variables as
factors or numeric as determined by "sageseqr::clean_covariates()".
Defaults to removing rows with missing values.