Skip to contents

This function plots a hierachically clustered heatmap and corresponding dendrogram of a transaction matrix

Usage

monsterHclHeatmapPlot(monsterObj, method = "pearson")

Arguments

monsterObj

monsterAnalysis Object

method

distance metric for hierarchical clustering. Default is "Pearson correlation"

Value

ggplot2 object for transition matrix heatmap

Examples

# data(yeast)
# design <- c(rep(0,20),rep(NA,10),rep(1,20))
# yeast$exp.cc[is.na(yeast$exp.cc)] <- mean(as.matrix(yeast$exp.cc),na.rm=TRUE)
# monsterRes <- monster(yeast$exp.cc, design, yeast$motif, nullPerms=10, numMaxCores=1)
data(monsterRes)
monsterHclHeatmapPlot(monsterRes)