Description Usage Arguments Value See Also Examples
Plot a heatmap of the given data. Usefull to use after
compute_cor
for instance.
1 2 3 4 |
data |
A matrix or data frame. |
type |
A string to change the type of heatmap. One of "full" (default), "lower" or "upper". |
limits_scale |
The scale of the fill aesthetic (-1 to 1 by default). |
title_legend |
A string to change the title of the legend. |
palette |
A string indicating the color palette to use. One of "viridis" (default) "magma", "inferno" or "plasma". |
value |
A boolean (FALSE by default). Should the values should be visible? |
color_value |
A color string ("#ffffff" by default) for the label values. |
clustering |
A boolean (FALSE by default). Should the variables be
ordered by a clustering? Use the |
text_size |
A numeric value to change the size of the labels. |
... |
Parameters to pass to |
A ggplot2 object.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.