glScatter.default {Glimma} | R Documentation |
Default method for creating an interactive scatter plot
## Default S3 method: glScatter(x, xval = "x", yval = "y", idval = NULL, point.size = 2, x.jitter = 0, y.jitter = 0, ndigits = NULL, signif = 6, log = "", xgrid = FALSE, ygrid = FALSE, xstep = FALSE, ystep = FALSE, xlab = xval, ylab = yval, main = NULL, height = 400, width = 500, colval = NULL, annot = c(xval, yval), annot.lab = NULL, flag = NULL, info = NULL, hide = FALSE, disable = NULL, ...)
x |
the data.frame containing data to plot. |
xval |
the column name for the x-axis values. |
yval |
the column name for the y-axis values. |
idval |
the column name for unique identifiers. |
point.size |
the size of the data points. |
x.jitter |
the amount of jittering to add to values along the x axis. |
y.jitter |
the amount of jittering to add to values along the y axis. |
ndigits |
the number of digits after the decimal to round to in the tooltip (overrides signif). |
signif |
the number of significant figures to display in the tooltip. |
log |
a character string which contains "x" if the x axis is to be logarithmic, "y" if the y axis is to be logarithmic and "xy" or "yx" if both axes are to be logarithmic. |
xgrid |
TRUE if grid lines should be placed along x axis. |
ygrid |
TRUE if grid lines should be placed y axis. |
xstep |
the interval at which to set grid lines along the x axis. |
ystep |
the interval at which to set grid lines along the y axis. |
xlab |
the label on the x-axis. |
ylab |
the label on the y-axis. |
main |
the title for the plot. |
height |
the height of the plot (in pixels). |
width |
the width of the plot (in pixels). |
colval |
the colours for each data point. |
annot |
the columns to display in the tooltip. |
annot.lab |
alternative labels for the values displayed in the tooltip. |
flag |
the special flag to indicate special plot. |
info |
additional information for plotting. |
hide |
TRUE to hide the plot when page starts. |
disable |
the events to disable, options are "click", "hover", "zoom". |
... |
additional arguments. |
A chart object containing the information to create an interactive scatter plot.
Shian Su
data(iris) plot1 <- glScatter(iris, xval="Sepal.Length", yval="Sepal.Width", colval="Species") glimma(plot1, c(1,1))