Skip to contents

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().

Examples

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