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

View source: R/RCircosHeatmap.R

RCircos.Get.Heatmap.Color.ScaleR Documentation

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.

Author(s)

Henry Zhang

Examples

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

RCircos documentation built on March 18, 2022, 7:59 p.m.