attriColorGene {bioCancer} | R Documentation |
Attribute Color to Gene
attriColorGene(df)
df |
data frame with mRNA or CNA or mutation frequency or methylation (numeric). |
A list colors for every gene
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 clr <- attriColorGene(ProfData) ## End(Not run)