is.at {ptm} | R Documentation |
Check Residue a Fixed Position
Description
Checks if a given amino acid is at a given position.
Usage
is.at(at, target, aa = 'M', uniprot = TRUE)
Arguments
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. |
Details
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.
Value
Returns a boolean. Either the residue is present at that position or not.
Author(s)
Juan Carlos Aledo
See Also
aa.at(), aa.comp()
Examples
## Not run: is.at(28, 'P01009', 'Q')
[Package ptm version 1.0.1 Index]