get_association_statistics: Visualize relationship between variables

View source: R/visualization-functions.R

get_association_statisticsR Documentation

Visualize relationship between variables

Description

Output a correlation matrix to visualize the relationship between continuous and factor variables. For factor variables, the Cramer's V estimate and the P-value is computed from the Pearson chi-square score between two variables.

Usage

get_association_statistics(clean_metadata, p_value_cutoff = 0.05)

Arguments

clean_metadata

A data frame with sample identifiers as rownames and variables as factors or numeric as determined by "sageseqr::clean_covariates()".

p_value_cutoff

Set the p-value threshold.


Sage-Bionetworks/sageseqr documentation built on June 13, 2024, 2:11 p.m.