Seurat (version 2.3.4)

CustomPalette: Create a custom color palette

Description

Creates a custom color palette based on low, middle, and high color values

Usage

CustomPalette(low = "white", high = "red", mid = NULL, k = 50)

Arguments

low

low color

high

high color

mid

middle color. Optional.

k

number of steps (colors levels) to include between low and high values

Value

A color palette for plotting

Examples

Run this code
# NOT RUN {
myPalette <- CustomPalette()
myPalette

# }

Run the code above in your browser using DataLab