is.at | R Documentation |
Checks if a given amino acid is at a given position.
is.at(at, target, aa = 'M', uniprot = TRUE)
at |
the position in the primary structure of the protein. |
target |
a character string specifying the UniProt ID of the protein of interest or, alternatively, the sequence of that protein. |
aa |
the amino acid of interest. |
uniprot |
logical, if TRUE the argument 'target' should be an ID. |
Please, note that when uniprot is set to FALSE, target can be the string returned by a suitable function, such as get.seq or other.
Returns a boolean. Either the residue is present at that position or not.
Juan Carlos Aledo
aa.at(), renum.pdb(), renum.meto(), renum(), aa.comp()
## Not run: is.at(28, 'P01009', 'Q')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.