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

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

Examples

if (FALSE) { library('deltaccd') library('doParallel') library('doRNG') registerDoParallel(cores = 2) set.seed(35813) refCor = getRefCor() ccdResult = calcCCD(refCor, GSE19188$emat, GSE19188$groupVec, dopar = TRUE) deltaCcdResult = calcDeltaCCD(refCor, GSE19188$emat, GSE19188$groupVec, 'non-tumor', dopar = TRUE) pRef = plotRefHeatmap(refCor) pTest = plotHeatmap(rownames(refCor), GSE19188$emat, GSE19188$groupVec) }