powered by
Set the scale factor for the representation
setScale(NGLVieweR, scale = 1)
Updated NGLVieweR object with new scale parameter.
NGLVieweR
A NGLVieweR object.
A numeric value indicating the scale factor (default is 1).
zoomMove()
setRotation()
setPosition()
Other transformations: setPosition(), setRotation(), zoomMove()
NGLVieweR("7CID") %>% addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>% setScale(2)
Run the code above in your browser using DataLab