new.structure | R Documentation |
Constructor for a PDB structure object.
new.structure(pdb.file)
pdb.file |
The PDB structure file to use |
The resulting object offers the following methods:
get.sequence(chain) Returns the amino acid sequence of the given chain
get.aa(chain,pos) Returns a data.frame with the atomic information for the amino acid determined by the given chain and position.
get.chains() Returns a vector detailing the chain indentifiers in the structure
get.atom(chain,pos,name) Returns the atomic information associated with the given chain, amino acid position, and atom name.
subcomplex.combos(chain) !Deprecated! Does not work with NMR structures
get.chain.info() Returns a dataframe listing which chain corresponds to which protein.
a PDB structure object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.