Description Usage Arguments Value Author(s) See Also Examples
This opens a shiny visualization application in the browser based on the submitted object.
1 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.