default.grin.colors: Default GRIN Colors

View source: R/default.grin.colors.R

default.grin.colorsR Documentation

Default GRIN Colors

Description

Function assigns default colors for each lesion group in the whole set of GRIN plots.

Usage

default.grin.colors(lsn.types)

Arguments

lsn.types

Unique lesion types as specified in the lesion data file.

Details

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.

Value

Function return a vector of colors assigned to each unique lesion type.

Author(s)

Stanley Pounds stanley.pounds@stjude.org

References

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.

Examples

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)

GRIN2 documentation built on April 4, 2025, 1:41 a.m.