View source: R/RCircosHeatmap.R
RCircos.Get.Heatmap.Color.Scale | R Documentation |
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
RCircos.Get.Heatmap.Color.Scale(heatmap.color=NULL)
heatmap.color |
Character vector, one of "BlueWhiteRed", "GreenWhiteRed", "GreenYellowRed", "GreenBlackRed", "YellowToRed", and "BlackOnly". |
A vector or two column matrix of rgb colors.
Henry Zhang
library(RCircos) colorScales <- RCircos.Get.Heatmap.Color.Scale(heatmap.color="BlueWhiteRed")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.