powered by
Continuously rotate a scene around the specified axis
m_spin(id, axis = "y")
R3dmol id or a r3dmol object (the output from r3dmol())
id
r3dmol
r3dmol()
Axis ("x", "y", "z", "vx", "vy", "vz") to rotate around. Default "y". View relative (rather than model relative) axes are prefixed with "v".
"x"
"y"
"z"
"vx"
"vy"
"vz"
"v"
# NOT RUN { library(r3dmol) r3dmol() %>% m_add_model(data = pdb_6zsl, format = "pdb") %>% m_zoom_to() %>% m_spin() # }
Run the code above in your browser using DataLab