Set the scale factor for the representation

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

Examples

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