Set Focus
setFocus(NGLVieweR, focus = 0)
setFocus parameter in NGLVieweR
htmlwidgets
object.
Other options:
setQuality()
,
snapShot()
,
updateFocus()
,
updateFullscreen()
NGLVieweR("7CID") %>%
addRepresentation("cartoon",
param=list(name="cartoon", colorValue="blue")) %>%
setFocus(0)