monsterHclHeatmapPlot: Transformation matrix plot

View source: R/MONSTER.R

monsterHclHeatmapPlotR Documentation

Transformation matrix plot

Description

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)

netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.