Debian Codegraph @

tests/test-modules/107_scatterplot/R/scatterplot.R

raw
1 alpha_val <- 0.2
2
3 scatterPlot <- function(data, cols) {
4 ggplot(data, aes_string(x = cols[1], y = cols[2])) +
5 geom_point(aes(color = selected_), alpha = alpha_val) +
6 scale_color_manual(values = c("black", "#66D65C"), guide = FALSE)
7 }