densCols | R Documentation |
Helper to map density to colors
densCols(
x,
y = NULL,
xlim = range(x, na.rm = TRUE, finite = TRUE),
ylim = range(y, na.rm = TRUE, finite = TRUE),
nbin = 128,
colramp = colorRampPalette(c("blue", "green", "red")),
transformation = "asinh"
)
derived from grDevices R Core Team, Florian Hahne at FHCRC, originally
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.