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

Description Usage Arguments Value Author(s) Examples

View source: R/RCircosHeatmap.R

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

1

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

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

Example output



RCircos documentation built on May 2, 2019, 5:51 a.m.