attriColorValue: Attribute Color to Value

View source: R/Enrich.R

attriColorValueR 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 <- 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.