monsterHclHeatmapPlot | R Documentation |
This function plots a hierachically clustered heatmap and corresponding dendrogram of a transaction matrix
monsterHclHeatmapPlot(monsterObj, method = "pearson")
monsterObj |
monsterAnalysis Object |
method |
distance metric for hierarchical clustering. Default is "Pearson correlation" |
ggplot2 object for transition matrix heatmap
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.