NglWidget: NglWidget

Description Usage Arguments Value

View source: R/NglWidget.R

Description

NglWidget

Usage

1
2
3
4
5
6
7
8
NglWidget(
  pdbID,
  htmlContainer,
  componentOptions = list(),
  width = NA_integer_,
  height = NA_integer_,
  quiet = TRUE
)

Arguments

pdbID

character

htmlContainer

character, the name of the DOM element, typically a div

componentOptions

list of lists, specifying named components of the molecular structure

width

integer initial width of the widget.

height

integer initial height of the widget.

Value

a reference to an htmlwidget.


paul-shannon/nglShinyS4 documentation built on June 1, 2020, 12:26 a.m.