color_levels: Returns color gradient for the specified data type...

View source: R/plotting_funcs.R

color_levelsR Documentation

Returns color gradient for the specified data type (green/purple for Gene Expression; red/blue for proteina ctivity)

Description

Returns color gradient for the specified data type (green/purple for Gene Expression; red/blue for proteina ctivity)

Usage

color_levels(data.type = c("gexp", "pact"), num.colors)

Arguments

data.type

Type of data to use; either 'gexp' or 'pact'

num.colors

Number of colors to return.

Value

Vector of colors.


califano-lab/PISCES documentation built on Jan. 11, 2023, 5:34 a.m.