Output and render functions for using JBrowseR within Shiny applications and interactive Rmd documents.

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

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

JBrowseR_html(id, style, class, ...)

Arguments

outputId

output variable to read from

width

Must be a valid CSS unit or a number, which will be coerced to a string and have 'px' appended.

height

Must be a valid CSS unit or a number, which will be coerced to a string and have 'px' appended.

expr

An expression that generates a JBrowseR

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

id

htmltools id

style

htmltools style

class

htmltools class

...

Additional arguments passed on

Value

the Shiny UI bindings for a JBrowseR htmlwidget

the Shiny server bindings for a JBrowseR htmlwidget

the root HTML element to render the React component in