powered by
Set Focus
setFocus(NGLVieweR, focus = 0)
setFocus parameter in NGLVieweR
NGLVieweR
htmlwidgets object.
htmlwidgets
A NGLVieweR object.
Set focus between 0 (default) to 100.
updateFocus()
Other options: setQuality(), snapShot(), updateFocus(), updateFullscreen()
setQuality()
snapShot()
updateFullscreen()
NGLVieweR("7CID") %>% addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>% setFocus(0)
Run the code above in your browser using DataLab