m_set_default_cartoon_quality {r3dmol} | R Documentation |
Set the default cartoon quality for newly created models
Description
Set the default cartoon quality for newly created models. Default is
5
.
Current models are not affected.
Usage
m_set_default_cartoon_quality(id, quality)
Arguments
id |
R3dmol |
quality |
Default cartoon quality. |
Value
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Examples
library(r3dmol)
r3dmol() %>%
m_set_default_cartoon_quality(20) %>%
m_add_model(data = pdb_1j72, format = "pdb") %>%
m_set_style(style = m_style_cartoon()) %>%
m_zoom_to()
[Package r3dmol version 0.1.2 Index]