View source: R/plotting_funcs.R
color_levels | R Documentation |
Returns color gradient for the specified data type (green/purple for Gene Expression; red/blue for proteina ctivity)
color_levels(data.type = c("gexp", "pact"), num.colors)
data.type |
Type of data to use; either 'gexp' or 'pact' |
num.colors |
Number of colors to return. |
Vector of colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.