Description Usage Arguments Value Examples
Attribute Color to Value
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.