colors {AneuFinder} | R Documentation

## AneuFinder color scheme

### Description

Get the color schemes that are used in the AneuFinder plots.

### Usage

    stateColors(states = c("zero-inflation", paste0(0:10, "-somy"), "total"))

    strandColors(strands = c("+", "-"))

    breakpointColors(breaktypes = c("CNB", "SCE", "CNB+SCE", "other"))

### Arguments

`states` | A character vector with states whose color should be returned.
`strands` | A character vector with strands whose color should be returned. Any combination of `c('+','-','*')`.
`breaktypes` | A character vector with breakpoint types whose color should be returned. Any combination of `c('CNB','SCE','CNB+SCE','other')`.

### Value

A character vector with colors.

### Functions

- `stateColors`: Colors that are used for the states.

- `strandColors`: Colors that are used to distinguish strands.

- `breakpointColors`: Colors that are used for breakpoint types.

### Examples

    ## Make a nice pie chart with the AneuFinder state color scheme
    statecolors <- stateColors()
    pie(rep(1,length(statecolors)), labels=names(statecolors), col=statecolors)

    ## Make a nice pie chart with the AneuFinder strand color scheme
    strandcolors <- strandColors()
    pie(rep(1,length(strandcolors)), labels=names(strandcolors), col=strandcolors)

    ## Make a nice pie chart with the AneuFinder breakpoint-type color scheme
    breakpointcolors <- breakpointColors()
    pie(rep(1,length(breakpointcolors)), labels=names(breakpointcolors), col=breakpointcolors)

[Package AneuFinder version 1.12.1 Index]