plotRefHeatmap: Visualize the reference pattern of gene co-expression.

View source: R/deltaccd_plot.R

plotRefHeatmapR Documentation

Visualize the reference pattern of gene co-expression.

Description

Make a heatmap of the reference correlation matrix for gene co-expression.

Usage

plotRefHeatmap(refCor)

Arguments

refCor

Correlation matrix, such as comes from getRefCor().

Value

A ggplot object, which can be saved using ggplot2::ggsave(). Heatmap colors will be directly comparable to any heatmaps created by this function or by plotHeatmap().

See Also

getRefCor(), plotHeatmap()

Examples

refCor = getRefCor()
pRef = plotRefHeatmap(refCor)
pTest = plotHeatmap(rownames(refCor), GSE19188$emat, GSE19188$groupVec)


hugheylab/deltaccd documentation built on Dec. 3, 2022, 9:51 a.m.