Skip to contents

Create color scales for heatmap plot. Currently there are six color scales could be generated:

BlueWhiteRed: colors from blue (lowest) to white then red (highest)
GreenWhiteRed: colors from green (lowest) to white then red (highest)
GreenYellowRed: colors from green (lowest) to yellow then red (highest)
GreenBlackRed: colors from green (lowest) to black then red (highest)
YellowToRed: colors from yellow (lowest) to red (highest)
BlackOnly: black only

Usage

RCircos.Get.Heatmap.Color.Scale(heatmap.color=NULL)

Arguments

heatmap.color

Character vector, one of "BlueWhiteRed", "GreenWhiteRed", "GreenYellowRed", "GreenBlackRed", "YellowToRed", and "BlackOnly".

Value

A vector or two column matrix of rgb colors.

Author

Henry Zhang

Examples

library(RCircos)
colorScales <- RCircos.Get.Heatmap.Color.Scale(heatmap.color="BlueWhiteRed")