Description Usage Arguments Value
Add surface representation to atoms
1 2 3 4 5 6 7 8 9 | m_add_surface(
id,
type,
style = m_style_surface(),
atomsel = m_sel(),
allsel,
focus,
surfacecallback
)
|
id |
R3dmol |
type |
Surface type ('VDW', 'MS', 'SAS', or 'SES') |
style |
Optional style specification for surface material (e.g. for different coloring scheme, etc). |
atomsel |
Show surface for atoms in this selection. |
allsel |
Use atoms in this selection to calculate surface; may be larger
group than |
focus |
Optionally begin rendering surface specified atoms. |
surfacecallback |
function to be called after setting the surface. |
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.