plotHeatmapColorScale {caOmicsV} | R Documentation

## Plot Heatmap Color Scale for both caOmicsV bioMatrix and bioNewCircos Layout

### Description

Draw heatmap color scale for legends of bioMatrix plot and bioNetCircos plot. Graphic device must be initialized.

### Usage

        plotHeatmapColorScale(coorX, coorY, colorType="BlueWhiteRed",
            scaleWidth, scaleHeight, minValue, maxValue, direction="h")

### Arguments

`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

### Value

None

### Author(s)

Henry Zhang

### Examples

        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)

[Package caOmicsV version 1.18.0 Index]