scale_fill_fold_change: scale color for fold change values

Description Usage Value Author(s) Examples

View source: R/utils.R

Description

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.

Usage

1

Value

a list.

Author(s)

Tengfei Yin

Examples

1
2
3
p1 <- autoplot(volcano - 150)
p1
p1 + scale_fill_fold_change()

ggbio documentation built on Nov. 8, 2020, 5:04 p.m.