closed_labels: Human-readable labels for closed breaks
Description
Complements the closed_breaks_log2 function.
Usage
closed_labels(x, min_is_zero = FALSE)
Arguments
x
Vector of breaks for which to produce labels.
Typically, this is the output of closed_breaks_log2.
min_is_zero
Should the smallest break be
displayed as zero (TRUE) or as the actual value (FALSE). Default: FALSE
Value
Character vector with labels, used by feat function.
Details
This is a helper for the feat function.
feat replaces numeric zeros with the next-smallest expression value
to avoid taking the logarithm of zero. min_is_zero can be used to
display the lowest break of the color scale as zero in these cases.