attriColorGene: Attribute Color to Gene

View source: R/Enrich.R

attriColorGeneR 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). Without sampleID column.

Value

A list colors for every gene

Examples

cgds <- cBioPortal(
hostname = "www.cbioportal.org",
protocol = "https",
api = "/api/v2/api-docs"
)
## Not run: 
getDataByGenes( api =  cgds,
studyId = "gbm_tcga_pub",
genes = c("NF1", "TP53", "ABL1"),
by = "hugoGeneSymbol",
molecularProfileIds = "gbm_tcga_pub_mrna"
)

## End(Not run)

kmezhoud/bioCancer documentation built on Feb. 17, 2024, 10:29 a.m.