Description Usage Arguments Value Examples
HeatMap
constructs a heapmat by combining DEEEHeat, DEEEAxis and DEEELegend
together based on specified arguments. It is needed to pay attention that all paramters
should be lists.
1 2 |
datMat |
A matrix containing data. |
mainPar |
A list of parameters of the title. |
heatPar |
A list of parameters specifying the main heatmap. |
legPar |
A list of parameters of specifying DEEELegend. |
axisPar |
A list of lists of parameters of axes. Every single list in it specifying one axis. |
graPar |
A list sepecifying for the global graphical parameters. |
A vector of numerics indicating the border of the core plot, (xleft, xright, ybottom, ytop) is returned.
1 2 3 4 5 6 7 8 | HeatMap(datMat = matrix(sample(1:100), 10, 10),
mainPar = list(y = 1.65),
heatPar = list(colSet = c("blue", "yellow", "green")),
legPar = list(pos = c(10.5, 0, 11, 10), labels = c(0, 25, 50, 100),
textPos = list(x = c(rep(11.5, 4)), y = c(0, 2.5, 5.0, 10.0))),
axisPar = list(a1 = list(sep = c(1, 3, 5), colSet = 2:4),
a2 = list(bm = 10, tm = 11, sep = c(1, 5, 8), colSet = 4:7)),
graPar = list(mar = c(0, 2, 2, 2)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.