This function plots a Pearson correlation heatmap for a given SummarizedExperiment object.
Usage
rna.plot_corrheatmap(
dds,
lower = 0,
upper = 1,
pal = "PRGn",
pal_rev = FALSE,
indicate = NULL,
font_size = 12,
plot = TRUE,
...
)
Arguments
- 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
.- dep
A DESeqDataSet object.
- significant
Logical. If TRUE, only significant correlations are plotted. Default is TRUE.