attriColorVector: Attribute color to a vector of numeric values

View source: R/Reactome.R

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