Visualize matrix for a quantity measured on cases and controls (a single number)
Special to case-control visualization: upper right for cases, lower left for controls.
visualize_case_control_matrix( mat, dim_names = ncol(mat), cell_metrics = "", folding_line = TRUE, axes = FALSE, xlab = "", ylab = "", asp = 1, title = "" )
mat
: matrix of values: upper for cases, lower for controls;dim_names
: names of the columns, from left to right. It is also the names of the rows, from bottom to top. Default is 1 through ncol(mat)
;cell_metrics
: the meaning of number in every cell;folding_line
: Default is TRUE
for adding dashed major diagonal line.axes
: plot axes; default is FALSE
;xlab
: label for x-axisylab
: label for y-axisasp
: aspect ratio; default is 1
to ensure square shapetitle
: text for the figureplotting function; no returned value.
Useful links