saturated_rainbow_cts: Saturated rainbow for counts

Description Usage Arguments

Description

Adapted from qiimer::saturated_rainbow, this provides a ggplot2 scale_fill_gradientn that adopts the conventions from that scale. Namely: The lowest-abundance taxa are in dark blue, empty taxa are white, and highly-abundant taxa (> threshold) are in red.

Usage

1
saturated_rainbow_cts(..., na.value = "white", threshold = 0.4, scale = 1)

Arguments

...

arguments passed to scale_fill_gradientn

na.value

the color to assign to missing taxa

threshold

the proportional limit where the high-range color appears

scale

the the maximum of the proportion (i.e. is it 0-1 scaled or 0-100?)


eclarke/eclectic documentation built on May 15, 2019, 7:54 p.m.