m_add_surface {r3dmol}R Documentation

Add surface representation to atoms

Description

Add surface representation to atoms

Usage

m_add_surface(
  id,
  type,
  style = m_style_surface(),
  atomsel = m_sel(),
  allsel,
  focus,
  surfacecallback
)

Arguments

id

R3dmol id or a r3dmol object (the output from 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 atomsel.

focus

Optionally begin rendering surface specified atoms.

surfacecallback

function to be called after setting the surface.

Value

R3dmol id or a r3dmol object (the output from r3dmol())


[Package r3dmol version 0.1.2 Index]