Description Usage Arguments Value
View source: R/visualization.R
A single correlation plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
A data frame with two columns to be plotted |
col.by |
A vector or factor of values to color the plot by |
cols |
An optional vector of colors to use |
pt.size |
Point size for the plot |
smooth |
Make a smoothed scatter plot |
legend.title |
Optional legend title |
raster |
Convert points to raster format, default is |
raster.dpi |
the pixel resolution for rastered plots, passed to geom_scattermore(). Default is c(512, 512) |
plot.cor |
... |
jitter |
Jitter for easier visualization of crowded points |
rows.highight |
A vector of rows to highlight (like cells.highlight in
|
A ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.