DEEEHeat: Core function for heatmap.

Description Usage Arguments Value Examples

View source: R/HM_HeatnAxisnLeg.R

Description

DEEEHeat is the basic function to construct a heatmap. This function plot the core heat map and return the coordinates containing the border of the plot.

Usage

1
2
DEEEHeat(datMat, colSet = NULL, graPar = list(), textNum = NULL,
  textX = NULL, textY = NULL, Seg = TRUE)

Arguments

datMat

A matrix containing data.

colSet

A vector of strings indicating color range.

graPar

A list of global graphics parameters.

textNum

A list specifying texts plotted in each cell of the heatmap. NA for no number.

textX

A list containing parameters specifing X-axis. NA for no plotting.

textY

A list containing parameters specifing Y-axis. NA for no plotting.

Seg

A bool value indicating whether plot separating lines or not.

Value

A vector of numerics indicating the border of the plot, (xleft, xright, ybottom, ytop) is returned.

Examples

1
2
3
4
testMatrix = matrix(sample(1:100), 10, 10)
colnames(testMatrix) = 1:10
rownames(testMatrix) = 1:10
DEEEHeat(testMatrix)

ziyanyin/DEEE documentation built on May 28, 2017, 1:51 p.m.