plot_half_cor_mat: Plot a rotated half correlation matrix

plot_half_cor_matR Documentation

Plot a rotated half correlation matrix

Description

Plot the lower triangle of a correlation matrix

Usage

plot_half_cor_mat(cor_mat, border_width = 0)

Arguments

cor_mat

a correlation matrix (must have dimnames)

border_width

width parameter of the border around each cell.

Details

If you see a thin, pixel-width grey border around each cell, try setting border_width = 0.1 or so, depending on your output resolution.

No checks are made on the order of the columns. If you want the order to line up with another plot, you'll need to check the input manually beforehand.

Value

a ggplot of the lower triangle of the matrix.


biobakery/anpan documentation built on Aug. 14, 2024, 8:19 a.m.