heatmap_cor function

Heatmap plot of correlation matrix

Heatmap plot of correlation matrix

heatmap_cor(cor_heat, lim = 1)

Arguments

  • cor_heat: The coefficient matrix to draw heatmap
  • lim: the limit to truncate for large coefficients for better presentation

Returns

a graph on the default plot window

Examples

cor_coef <- matrix(runif(100, -1, 1), ncol=10) colnames(cor_coef) <- paste0("col", 1:10) rownames(cor_coef) <- paste0("row", 1:10) heatmap_cor(cor_coef)
  • Maintainer: Shihao Yang
  • License: GPL-2
  • Last published: 2023-05-24

Useful links