Description Usage Arguments Value Examples
View source: R/create_heatmap.R
Creates a heatmap from a matrix, potentially with NA's
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mat |
A numeric matrix with features as rows |
low |
Color for lower gradient bound |
high |
Color for higher gradient bound |
seg.color |
Color of cell diagonal line for missing value tiles |
NA_color |
Color for missing value tiles |
seg.shape |
One of 'line', 'cross', or 'none' |
title |
Plot title |
xtitle |
X title |
ytitle |
Y title |
show.legend |
show.legend |
legend.title |
legend.title |
a ggplot object
1 2 3 4 | create_heatmap(title = 'Example')
create_heatmap(low = 'green', high = 'purple')
create_heatmap(low = 'yellow', high = 'grey50')
create_heatmap(low = 'yellow', high = 'darkgreen')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.