scale_fill_fold_change {ggbio} | R Documentation |
In biology, lots of data are scaled to value around 0, and people like to show them as blue-white-red scale color, where negative value are blue, 0 is white and positive value is red, and they are scaled for continuous variables.
scale_fill_fold_change()
a list.
Tengfei Yin
p1 <- autoplot(volcano - 150)
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
p1
p1 + scale_fill_fold_change()