RCircos.Get.Heatmap.Data.Colors {RCircos} | R Documentation |
Assign colors to each value of a numeric vector for heatmap plot. The colour scale needs to be calculated from whole datasets when there are more than one data column so the minimum and maximum values for heatmap data must be provided.
RCircos.Get.Heatmap.Data.Colors(heatmap.value=NULL, min.value=NULL, max.value=NULL)
heatmap.value |
A numeric vector. |
min.value |
Numeric, the minimu value for heatmap scale. |
max.value |
Numeric,the maximum value for heatmap scale. |
Character vector of R color names with length same as the length of data values.
Henry Zhang
## Not run:
library(RCircos)
data(RCircos.Heatmap.Data)
hColors <- RCircos.Get.Heatmap.Data.Colors(RCircos.Heatmap.Data[,5], min.value=-3, max.value=3)
## End(Not run)