is.at: Check Residue a Fixed Position

View source: R/aa.R

is.atR 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(), renum.pdb(), renum.meto(), renum(), aa.comp()

Examples

## Not run: is.at(28, 'P01009', 'Q')

ptm documentation built on Aug. 7, 2022, 5:05 p.m.

Related to is.at in ptm...