Obtain color gradient for heatmap
1 | determine_color_gradient(xx, quantile_val = 0, center_scale = T, AP = NULL)
|
xx |
a matrix or dataframe that will be the input of the heatmap |
quantile_val |
the dynamic range of the heatmap. For example, if it is
0.05, the heatmap gradient will go from 5% to 95% percentile of the values
in |
center_scale |
whether to color the middle of the dynamic range as white. Otherwise, 0 is colored white. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.