color.palette: Helper function allowing greater control over the steps in a...

View source: R/inferCNV_ops.R

color.paletteR Documentation

Helper function allowing greater control over the steps in a color palette.

Description

Helper function allowing greater control over the steps in a color palette. Source: http://menugget.blogspot.com/2011/11/define-color-steps-for- colorramppalette.html#more

Usage

color.palette(steps, between = NULL, ...)

Arguments

steps

Vector of colors to change use in the palette

between

Steps where gradients change

...

Additional arguments of colorRampPalette

Value

Color palette

Examples

color.palette(c("darkblue", "white", "darkred"),
              c(2, 2))


broadinstitute/inferCNV documentation built on Nov. 25, 2024, 7:15 p.m.