select: Select atoms

View source: R/select.R

selectR Documentation

Select atoms

Description

Select groups of atoms from a PDB object.

Usage

select(x, id, ...)

## S3 method for class 'pdb'
select(x, id, residue, chain, ...)

## S3 method for class 'atoms'
select(x, id, residue, chain, ...)

Arguments

x

an R object containing atoms;

id

an integer vector specifying the id of residues.

...

arguments passed to methods.

residue

a character vector specifying the residues to select.

chain

character vector specifying which chains to process;

Details

select is a generic function, which enables the selection of element IDs from molecules.

Value

select returns a vector with the element IDs.


Rpdb documentation built on May 12, 2026, 5:06 p.m.