gridsvgjs: gridsvgjs: Open a Shiny Application for a Grid Plot

Description Usage Arguments Value See Also Examples

Description

This opens a shiny visualization application in the browser based on the submitted plot.

Usage

1
gridsvgjs(object, ...)

Arguments

object

data object to display

...

additional arguments passed to methods; currently unused.

Value

Any grid based plot. For example: a plot produced with lattice, ggplot2 or biobase libraries.

See Also

http://bioconductor.org/packages/2.13/bioc/html/interactiveDisplay.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
if(interactive()) {

## Send a grid based plot to a browser as a Javascript interactive SVG

library(ggplot2)
data(mtcars)
qp <- qplot(mpg, data=mtcars, geom="density", fill=factor(cyl), alpha=I(.4))
gridsvgjs(qp)

}

interactiveDisplay documentation built on Nov. 8, 2020, 6:31 p.m.