Description Usage Arguments Value
Convenience function for plotting a numeric matrix as colored tiles using ggplot with row and column order preserved. Combine with cluster for a clustered heatmap.
1 |
m |
A numeric matrix |
diverging |
Logical. Whether to use a diverging color scale. |
... |
other arguments passed to scale_fill_gradient discrete_scale. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.