Set zeros to NA

Usage

na_zeros(p)

Arguments

p
a ggplot object with a `fill' aesthetic

Description

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.