plotCorMatrix: Plot a denoised correlation matrix

View source: R/RMT.R

plotCorMatrixR Documentation

Plot a denoised correlation matrix

Description

Plot a denoised correlation matrix

Usage

plotCorMatrix(
  denoised.cor.mat,
  midpoint = 0.3,
  return.plot.obj = FALSE,
  uppertri = FALSE,
  lowertri = FALSE
)

Arguments

denoised.cor.mat

The denoised correlation matrix object from getDenoisedMatrix

midpoint

The midpoint for the coloring (default is 0.3)

return.plot.obj

Whether to return the ggplot object

uppertri

Whether to keep the upper triangle of the matrix

lowertri

Whether to keep the lower triangle of the matrix

Value

Either a ggplot object or plot

Examples

dummy <- matrix(rnorm(10000), ncol=25)
set.seed(1000)
my_plot <- plotCorMatrix(dummy, return.plot.obj = TRUE)

biobenkj/compartmentalizer documentation built on Oct. 13, 2023, 5:26 p.m.