ExpressionGradient | R Documentation |
The ggplot2 scale gradient from ExpressionPalette.
ExpressionGradient(...)
... |
Arguments passed to |
library(EmbedSOM) library(ggplot2) # simulate a simple dataset e <- cbind(rnorm(10000),rnorm(10000)) data <- data.frame(Val=log(1+e[,1]^2+e[,2]^2)) PlotGG(e, data=data) + geom_point(aes_string(color="Val"), alpha=.5) + ExpressionGradient(guide=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.