Learn R Programming

interactiveDisplay (version 1.10.2)

display: display: Open a Shiny application for a Bioconductor object

Description

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

Usage

display(object, ...)

Arguments

object
data object to display
...
additional arguments passed to methods; currently unused.

Value

  • Usually some variation of the initial input object, but it may be altered by the display widget (subset for example).

See Also

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

Examples

Run this code
if(interactive()) {

## draw a RangedSummarizedExperiment object
data(se)
display(se)

## draw a GRanges object
data(mmgr)
display(mmgr)

## some display methods allow subsetting.
## To take advantage, just use an assignment operator like this:
mmgr2 <- display(mmgr)


## draw a GRangesList object
data(mmgrl)
display(mmgrl)

## draw an ExpressionSet object
data(expr)
display(expr)

## draw an MRexperiment object (placeholder!!!)
data(mr)
display(mr)

}

Run the code above in your browser using DataLab