Learn R Programming

RCircos (version 1.2.2)

RCircos.Get.Heatmap.Color.Scale: Generate Color Scales for Heatmap Plot

Description

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.

Examples

Run this code
# NOT RUN {
library(RCircos)
colorScales <- RCircos.Get.Heatmap.Color.Scale(heatmap.color="BlueWhiteRed")
# }

Run the code above in your browser using DataLab