getColorsForDiseases: getColorsForDiseases

Description Usage Arguments Details Value Examples

View source: R/GSColors.R

Description

Given a list of TCGA disease types, returns a list of pre-assigned colors, adding new diseases/colors dynamically.

Usage

1
getColorsForDiseases(theDiseaseList)

Arguments

theDiseaseList

A vector of diseases-known diseases are "ACC", "BLCA", "BRCA", "CESC", "CHOL", "CNTL", "COAD", "DLBC", "ESCA", "GBM", "HNSC", "KICH", "KIRC", "KIRP", "LAML", "LGG", "LIHC", "LUAD", "LUSC", "MESO", "OV", "PAAD", "PCPG", "PRAD", "READ", "SARC", "SKCM", "STAD", "TCGT", "THCA", "UCEC", "UCS", "UVM"

Details

Given a list of TCGA disease types, returns a list of pre-assigned colors, adding new diseases/colors dynamically.

Value

A vector of color strings with diseases as the names() for the vector. Known disease colors are: "darkcyan", "green", "blue", "purple", "firebrick", "midnightblue", "brown", "red", "lightgray", "darkgreen", "magenta", "cadetblue1", "goldenrod", "violet", "grey", "olivedrab", "cyan", "gold", "turquoise", "chocolate", "pink", "dodgerblue", "mediumvioletred", "forestgreen", "brown1", "bisque", "darkgray", "orange", "khaki", "seagreen", "tomato", "sienna", "darkorchid".

Examples

1
#See examples in tests directory in the install.

MD-Anderson-Bioinformatics/GeneSurvey documentation built on May 7, 2019, 2:04 p.m.