View source: R/getDensityColors.R
getDensityColors | R Documentation |
Wrapper function around grDevices::densCols produces a vector containing colors which encode the local densities at each point in a scatterplot.
getDensityColors(x, y, transform = FALSE)
x |
the x and y arguments provide the x and y coordinates of the points. |
y |
the x and y arguments provide the x and y coordinates of the points. |
transform |
whether or not to log2 transform the x,y values |
vector containing colors which encode the local densities at each point in a scatterplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.