Learn R Programming

r3dmol (version 0.1.2)

m_create_model_from: Create a new model from atoms specified by sel

Description

Create a new model from atoms specified by sel. If extract, removes selected atoms from existing models.

Usage

m_create_model_from(id, sel, extract)

Arguments

id

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

sel

Atom selection specification.

extract

If true, remove selected atoms from existing models

Value

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