attriColorGene {bioCancer} | R Documentation

## Attribute Color to Gene

### Description

Attribute Color to Gene

### Usage

    attriColorGene(df)

### Arguments

`df` | data frame with mRNA or CNA or mutation frequency or methylation (numeric).

### Value

A list colors for every gene

### 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
    clr <- attriColorGene(ProfData)

    ## End(Not run)

[Package bioCancer version 1.18.0 Index]