m_set_projection {r3dmol} | R Documentation |
Set view projection scheme
Description
Set view projection scheme
Usage
m_set_projection(id, scheme = c("perspective", "orthographic"))
Arguments
id |
R3dmol |
scheme |
Either |
Value
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Examples
library(r3dmol)
r3dmol() %>%
m_add_model(data = pdb_6zsl, format = "pdb") %>%
m_set_style(style = m_style_cartoon()) %>%
m_set_projection(scheme = "orthographic")
[Package r3dmol version 0.1.2 Index]