View source: R/default.grin.colors.R
default.grin.colors | R Documentation |
Function assigns default colors for each lesion group in the whole set of GRIN plots.
default.grin.colors(lsn.types)
lsn.types |
Unique lesion types as specified in the lesion data file. |
The function specifies 10 colors for different lesion types. If the number of lesion types is more than 10, the user will be asked to specify the colors manually.
Function return a vector of colors assigned to each unique lesion type.
Stanley Pounds stanley.pounds@stjude.org
Pounds, Stan, et al. (2013) A genomic random interval model for statistical analysis of genomic lesion data.
Cao, X., Elsayed, A. H., & Pounds, S. B. (2023). Statistical Methods Inspired by Challenges in Pediatric Cancer Multi-omics.
data(lesion.data)
lsn.types=unique(lesion.data$lsn.type)
# assign colors for different lesion categories using default.grin.colors function:
default.grin.colors(lsn.types)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.