meanheatmap {lsbclust}R Documentation

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

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))

[Package lsbclust version 1.1 Index]