Description Usage Arguments Value
NglWidget
1 2 3 4 5 6 7 8 | NglWidget(
pdbID,
htmlContainer,
componentOptions = list(),
width = NA_integer_,
height = NA_integer_,
quiet = TRUE
)
|
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. |
a reference to an htmlwidget.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.