format_corr: Format correlation matrix for input into ggplot

Description Usage Arguments Value Examples

View source: R/format_corr.R

Description

Format correlation matrix for input into ggplot

Usage

1
format_corr(corr_matrix)

Arguments

corr_matrix

a correlation matrix derived from using stats::cor()

Value

convert matrix to tidy data with columns for 'Var1' and 'Var2' (the populations) and 'value' (the correlation value)

Examples

1
2

aef1004/cytotypr documentation built on Dec. 25, 2021, 8:46 a.m.