Learn R Programming

caOmicsV (version 1.2.0)

getHeatmapColorScales: Get caOmicsV Heatmap Color Scales

Description

Generate a color map for heatmap color scales

Usage

getHeatmapColorScales(colorType)

Arguments

colorType
character vector, one of "BlueWhiteRed", "GreenWhiteRed", "GreenYellowRed", "GreenBlackRed", "YellowToRed", and "Black".

Value

An RGB color matrix with dimension of 255 by 2.

Examples

Run this code
    colorMap <- getHeatmapColorScales("BlueWhiteRed")

Run the code above in your browser using DataLab