attriColorVector {bioCancer} | R Documentation |
Attribute color to a vector of numeric values
attriColorVector(Value, vector, colors=c(a,b,c),feet)
Value |
numeric |
vector |
A vector of numeric data |
colors |
3 colors |
feet |
An interval between two numeric value needed to change the color |
A vetor of colors
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 clrVec <- attriColorVector(1.2, ProfData[1,], colors = c("blue", "white","red"), feet=1) ## End(Not run)