glScatter.default: Glimma Scatter Plot

Description Usage Arguments Value Author(s)

View source: R/v1-glScatter.R

Description

Default method for creating an interactive scatter plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## 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,
  ...
)

Arguments

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.

Value

A chart object containing the information to create an interactive scatter plot.

Author(s)

Shian Su


Glimma documentation built on Nov. 8, 2020, 6:13 p.m.