| display {interactiveDisplay} | R Documentation |
This opens a shiny visualization application in the browser based on the submitted object.
display(object, ...)
object |
data object to display |
... |
additional arguments passed to methods; currently unused. |
Usually some variation of the initial input object, but it may be altered by the display widget (subset for example).
Shawn Balcome and Marc Carlson
http://bioconductor.org/packages/2.13/bioc/html/interactiveDisplay.html
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)
}