prot.plot_corrheatmap: Plot a correlation heatmap

prot.plot_corrheatmapR Documentation

Plot a correlation heatmap

Description

This function plots a Pearson correlation heatmap for a given SummarizedExperiment object.

Usage

prot.plot_corrheatmap(
  dep,
  significant = TRUE,
  lower = 0,
  upper = 1,
  pal = "PRGn",
  pal_rev = FALSE,
  indicate = NULL,
  font_size = 12,
  plot = TRUE,
  ...
)

Arguments

dep

A SummarizedExperiment object

significant

Logical. If TRUE, only significant correlations are plotted. Default is TRUE.

lower

Numeric. Lower limit of the color scale. Default is 0.

upper

Numeric. Upper limit of the color scale. Default is 1.

pal

Character. Brewer color palette to be used. Default is "PRGn". See brewer.pal.info for options

pal_rev

Logical. If TRUE, color palette is reversed. Default is FALSE.

indicate

Character. Column name from colData to use for annotations. Default is NULL.

font_size

Numeric. Font size for labels. Default is 12.

plot

Logical. If FALSE, no plot is generated, only data frame is returned. Default is TRUE.

...

Other arguments to be passed to Heatmap.

Value

(Invisibly) a data frame with Pearson correlation values is returned.


NicWir/VisomX documentation built on Dec. 8, 2024, 1:27 a.m.