m_zoom {r3dmol} | R Documentation |
Zoom current view by a constant factor
Description
Zoom current view by a constant factor
Usage
m_zoom(id, factor = 2, animationDuration, fixedPath)
Arguments
id |
R3dmol |
factor |
Magnification |
animationDuration |
an optional parameter of milliseconds |
fixedPath |
if |
Value
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Examples
library(r3dmol)
r3dmol() %>%
m_add_model(data = pdb_6zsl, format = "pdb") %>%
m_zoom_to() %>%
m_zoom(factor = 2, animationDuration = 1000)
[Package r3dmol version 0.1.2 Index]