The epivizr
Bioconductor package implements two-way communication between the R/Bioconductor environment and the epiviz web app for interactive data visualization. Objects in the R environment can be displayed as tracks or scatterplots on Epiviz. Epivizr uses Websockets for communication between the browser Javascript client and the R environment using the same technology underlying the popular Shiny system for authoring interactive web-based reports in R.
Epivizr is available as part of the Bioconductor project as of version 2.13 which requires R version 3.0.2. Make sure you install
the proper version before continuing. To install epivizr
:
source("http://bioconductor.org/biocLite.R")
biocLite("epivizr")
The easiest way to try epivizr
out is to follow the package vignette:
require(epivizr)
browseVignettes("epivizr")
You can get a quick tour of epiviz here: http://youtu.be/099c4wUxozA
This github repository contains the latest and greatest version of epivizr
and is tracked by the devel version in Bioconductor (see
http://bioconductor.org/developers/how-to/useDevel/ for more info.
Epivizr now supports a non-blocking workflow on UNIX-like systems where data is served to the webapp without blocking the R/bioc interactive session. This requires an updated version of the httpuv package. You can install that using
require(devtools)
install_github("httpuv", username="epiviz", ref="daemon-unix")
We are working with Rstudio to fold that into the main httpuv release
Check out the epiviz
project page on github
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.