Set zeros in the data mapped to the fill aesthetic to NA, allowing them to be given a specific color in the heatmap independent of the fill scale.
1 | na_zeros(p)
|
p |
a ggplot object with a ‘fill’ aesthetic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.