m_add_surface: Add surface representation to atoms

Description Usage Arguments Value

View source: R/add.R

Description

Add surface representation to atoms

Usage

1
2
3
4
5
6
7
8
9
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())


r3dmol documentation built on March 14, 2021, 5:08 p.m.