attriColorGene: Attribute Color to Gene

Description Usage Arguments Value Examples

View source: R/Enrich.R

Description

Attribute Color to Gene

Usage

1

Arguments

df

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

Value

A list colors for every gene

Examples

1
2
3
4
5
6
7
8
9
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)

bioCancer documentation built on Nov. 8, 2020, 6:26 p.m.