Learn R Programming

deltaccd (version 1.0.2)

plotRefHeatmap: 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

Run this code
# NOT RUN {
refCor = getRefCor()
pRef = plotRefHeatmap(refCor)
pTest = plotHeatmap(rownames(refCor), GSE19188$emat, GSE19188$groupVec)

# }

Run the code above in your browser using DataLab