Description Usage Arguments Value See Also Examples
View source: R/deltaccd_plot.R
Make heatmaps of the co-expression (Spearman correlation) between pairs of selected genes in a dataset.
1 | plotHeatmap(geneNames, emat, groupVec = NULL)
|
geneNames |
Vector indicating the subset of genes in the rownames of
|
emat |
Matrix of expression values, where each row corresponds to a
gene and each column corresponds to a sample. The elements of |
groupVec |
Optional vector indicating the group to which group each sample belongs. If not provided, the function assumes all samples belong to the same group. |
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 plotRefHeatmap()
.
calcCCD()
, calcDeltaCCD()
, plotRefHeatmap()
1 2 3 | refCor = getRefCor()
pRef = plotRefHeatmap(refCor)
pTest = plotHeatmap(rownames(refCor), GSE19188$emat, GSE19188$groupVec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.