Learn R Programming

lsbclust (version 1.1)

meanheatmap: Plot Heatmap of A Matrix

Description

Construct a heatmap of a matrix using ggplot2.

Usage

meanheatmap(x)

Arguments

x

Matrix or list of matrices to be plotted

Examples

Run this code
# NOT RUN {
set.seed(1)
dat <- rlsbclust(ndata = 1, nobs = 100, size = c(6, 6), nclust = c(5, 4, 6, 5))
meanheatmap(Map(tcrossprod, dat[[1]]$interactions$C, dat[[1]]$interactions$D))
# }

Run the code above in your browser using DataLab