colors: 'AneuFinder' color scheme

Description Usage Arguments Value Functions Examples

Description

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

Usage

1
2
3
4
5
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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

AneuFinder documentation built on Nov. 8, 2020, 7:44 p.m.