attriColorValue | R Documentation |
Attribute Color to Value
attriColorValue(Value, df, colors=c(a,b,c),feet)
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) |
Hex Color Code
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.