setSpin: Set Spin

Description Usage Arguments Value See Also Examples

View source: R/NGLVieweR.R

Description

Set Spin animation

Usage

1

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

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

NGLVieweR documentation built on June 1, 2021, 9:08 a.m.