Description Usage Arguments Value Examples
View source: R/GeneTonic-extras.R
Maps numeric continuous values to values in a color palette
1 |
x |
A character vector of numeric values (e.g. log2FoldChange values) to be converted to a vector of colors |
pal |
A vector of characters specifying the definition of colors for the
palette, e.g. obtained via |
limits |
A vector containing the limits of the values to be mapped. If
not specified, defaults to the range of values in the |
A vector of colors, each corresponding to an element in the original vector
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.