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 = ""
)plotting function; no returned value.
matrix of values: upper for cases, lower for controls;
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);
the meaning of number in every cell;
Default is TRUE for adding dashed major diagonal
line.
plot axes; default is FALSE;
label for x-axis
label for y-axis
aspect ratio; default is 1 to ensure square shape
text for the figure