as.select.Rd
Convert atomic indices to a select object with ‘atom’ and ‘xyz’ components.
as.select(x, ...)
x | a numeric vector containing atomic indices to be converted to a ‘select’ object. Alternatively, a logical vector can be provided. |
---|---|
... | arguments passed to and from functions. |
Convert atomic indices to a select object with ‘atom’ and ‘xyz’ components.
Returns a list of class "select"
with the following components:
a numeric matrix of atomic indices.
a numeric matrix of xyz indices.
the matched call.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
Lars Skjaerven
atom.select
, read.pdb
#> #> Call: as.select(x = c(1, 2, 3)) #> #> Atom Indices#: 3 ($atom) #> XYZ Indices#: 9 ($xyz) #> #> + attr: atom, xyz, call