| attriColorValue {bioCancer} | R Documentation |
Attribute Color to Value
attriColorValue(Value, df, colors=c(a,b,c),feet)
Value |
integer |
df |
data frame with numeric values |
colors |
a vector of 5 colors |
feet |
the interval between two successive colors in the palette (0.1) |
Hex Color Code
cgds <- CGDS("http://www.cbioportal.org/")
## Not run:
geneList <- whichGeneList("73")
ProfData <- getProfileData(cgds,
geneList, "gbm_tcga_pub_mrna", "gbm_tcga_pub_all")
rownames(ProfData) <- NULL
clrRef <- attriColorValue(1.2,
ProfData,
colors = c("blue3", "white","red"),
feet=10)
## End(Not run)