attriColorValue {bioCancer} | R Documentation

## Attribute Color to Value

### Description

Attribute Color to Value

### Usage

    attriColorValue(Value, df, colors=c(a,b,c),feet)

### Arguments

`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)

### Value

Hex Color Code

### Examples

    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)

[Package bioCancer version 1.10.11 Index]