Description Usage Arguments Value Author(s) Examples
Draw heatmap color scale for legends of bioMatrix plot and bioNetCircos plot. Graphic device must be initialized.
1 2 | plotHeatmapColorScale(coorX, coorY, colorType="BlueWhiteRed",
scaleWidth, scaleHeight, minValue, maxValue, direction="h")
|
coorX |
numeric, x coordinates for the top left location of color scale |
coorY |
numeric, y coordinates for the top left location of color scale |
scaleWidth |
non-negative numeric, width of color scale |
scaleHeight |
non-negative numeric, height of color scale |
colorType |
character vector, one of "BlueWhiteRed", "GreenWhiteRed", "GreenYellowRed", "GreenBlackRed", "YellowToRed", and "BlackOnly" |
minValue |
numeric, the smallest value associated with the lowest coluor |
maxValue |
numeric, the biggest value associated with the highest coluor |
direction |
One character, either "h" for horizontal or "v" for vertical |
None
Henry Zhang
1 2 3 4 5 6 | plot.new()
plot.window(xlim=c(1,5), ylim=c(1,5))
axis(1)
axis(2)
plotHeatmapColorScale(coorX=2, coorY=4, colorType="BlueWhiteRed",
scaleWidth=2, scaleHeight=0.5, minValue=-3, maxValue=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.