Description Usage Arguments Value Examples
Attribute color to a vector of numeric values
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.