iplot: Interactive scatterplot

Description Usage Arguments Value See Also Examples

View source: R/iplot.R

Description

Creates an interactive scatterplot.

Usage

1
iplot(x, y = NULL, group = NULL, indID = NULL, chartOpts = NULL, digits = 5)

Arguments

x

Numeric vector of x values

y

Numeric vector of y values

group

Optional vector of categories for coloring the points

indID

Optional vector of character strings, shown with tool tips

chartOpts

A list of options for configuring the chart. Each element must be named using the corresponding option.

digits

Round data to this number of significant digits before passing to the chart function. (Use NULL to not round.)

Value

An object of class 'htmlwidget' that will intelligently print itself into HTML in a variety of contexts including the R console, within R Markdown documents, and within Shiny output bindings.

See Also

[iplotCorr()], [iplotCurves()], [itriplot()], [idotplot()], [iplotPXG()]

Examples

1
2
3
4
5
x <- rnorm(100)
grp <- sample(1:3, 100, replace=TRUE)
y <- x*grp + rnorm(100)

iplot(x, y, grp)

qtlcharts documentation built on Jan. 8, 2022, 1:06 a.m.