Description Usage Arguments Examples
Adds a colored outline to all objects in the scene, helping the viewer to distinguish depth in often complex molecular scenes.
1 | m_add_outline(id, width = 0.1, color = "black")
|
id |
R3dmol |
width |
Width of the outline, defaults to 0.1 |
color |
Color of the outline, defaults to black. |
1 2 3 4 5 6 | library(r3dmol)
r3dmol() %>%
m_add_model(data = pdb_1j72) %>%
m_set_style(style = m_style_stick()) %>%
m_add_outline()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.