create.cols.from.array | R Documentation |
If split.hsv = FALSE, the feature with the highest value in a spot will define the color for that spot. The intensity of the color will depend on if dark.theme is active and the magnitude of the feature value in that spot.
create.cols.from.array( data, d, features, cols, split.hsv, dark.theme, add.alpha )
data |
data.frame with feature values |
d |
array created with |
features |
Feature names |
cols |
Custom colors |
split.hsv |
Should the features be plotted separately? |
dark.theme |
Used to select what channel the feature values should be encoded in |
add.alpha |
Adds opacity to the output colors, defined by the scaled feature values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.