Description Usage Arguments Details Value Author(s)
Helper function for plotGene
1 2 | colorGradient(data, lcol = "grey", hcol = "red", na.col = "Black",
opacity = NULL, maxVal = NULL, minVal = NULL, channelOrder = 1:3)
|
data |
Gene expression data from |
lcol |
Colour to be taken for low values. Default is "grey". |
hcol |
Colour to be taken by high values. Default is "red". |
na.col |
Colour for missing values, Default is Black. |
opacity |
Opacity value from 0 to 255 |
maxVal |
Default NULL. Set the maximum and minimum color values manually. |
minVal |
Default NULL. Set the maximum and minimum color values manually. |
channelOrder |
Default 1:3 indicating red, green, blue. |
Helper function for plotGene
to calculate colour gradient
Returns a vector of colours for each point to be plotted.
Wajid Jawaid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.