setScale {NGLVieweR} | R Documentation |
Set Scale
Description
Set the scale factor for the representation
Usage
setScale(NGLVieweR, scale = 1)
Arguments
NGLVieweR |
A NGLVieweR object. |
scale |
A numeric value indicating the scale factor (default is 1). |
Value
Updated NGLVieweR
object with new scale parameter.
See Also
Other transformations:
setPosition()
,
setRotation()
,
zoomMove()
Examples
NGLVieweR("7CID") %>%
addRepresentation("cartoon",
param=list(name="cartoon", colorValue="blue")) %>%
setScale(2)
[Package NGLVieweR version 1.4.0 Index]