Output and render functions for JBrowseRApp(). The app is a separate widget with its own bundle, so it cannot render into a JBrowseROutput().

JBrowseRAppOutput(outputId, width = "100%", height = "400px")

renderJBrowseRApp(expr, env = parent.frame(), quoted = FALSE)

Arguments

outputId

output variable to read from

width, height

a valid CSS unit, or a number coerced to pixels

expr

An expression that generates a JBrowseRApp

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())?

Value

the Shiny UI bindings for a JBrowseRApp htmlwidget

the Shiny server bindings for a JBrowseRApp htmlwidget

Details

The app reports input[[paste0(outputId, "_session")]] in the shape session = takes, _selected_feature for the clicked feature, and _location as a list with one entry per open view. A re-render that changes only session restores it in the app on the page; any other changed option builds a new app.