powered by
Adds a colored outline to all objects in the scene, helping the viewer to distinguish depth in often complex molecular scenes.
m_add_outline(id, width = 0.1, color = "black")
R3dmol id or a r3dmol object (the output from r3dmol())
id
r3dmol
r3dmol()
Width of the outline, defaults to 0.1
Color of the outline, defaults to black.
# NOT RUN { library(r3dmol) r3dmol() %>% m_add_model(data = pdb_1j72) %>% m_set_style(style = m_style_stick()) %>% m_add_outline() # }
Run the code above in your browser using DataLab