attriColorVector {bioCancer} | R Documentation

## Attribute color to a vector of numeric values

### Description

Attribute color to a vector of numeric values

### Usage

    attriColorVector(Value, vector, colors=c(a,b,c),feet)

### Arguments

`Value` | numeric
`vector` | A vector of numeric data
`colors` | 3 colors
`feet` | An interval between two numeric value needed to change the color

### Value

A vetor of colors

### Examples

    cgds <- CGDS("http://www.cbioportal.org/public-portal/")
    ## Not run:
    geneList <- whichGeneList("73")
    ProfData <- getProfileData(cgds,
     geneList, "gbm_tcga_pub_mrna", "gbm_tcga_pub_all")
    rownames(ProfData) <- NULL
    clrVec <- attriColorVector(1.2,
    ProfData[1,],
     colors = c("blue", "white","red"),
      feet=1)

    ## End(Not run)

[Package bioCancer version 1.8.0 Index]