setSpin {NGLVieweR}R Documentation

Set Spin

Description

Set Spin animation

Usage

setSpin(NGLVieweR, spin = TRUE)

Arguments

NGLVieweR

A NGLVieweR object.

spin

If TRUE (default), start spinning and stop rocking

Value

setSpin parameter to TRUE or FALSE in NGLVieweR htmlwidgets object.

See Also

Other animations: setRock(), updateRock(), updateSpin(), updateZoomMove(), zoomMove()

Examples

NGLVieweR("7CID") %>%
 addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
 setSpin(TRUE)

[Package NGLVieweR version 1.3.1 Index]