is.at: Check Residue a Fixed Position

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/aa.R

Description

Checks if a given amino acid is at a given position.

Usage

1
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 interst.

uniprot

logical, if TRUE the argument 'target' shoud 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()

Examples

1
2
is.at(28, 'P01009', 'Q')
is.at(at = 80, target = get.seq('P00004', 'metosite'), uniprot = FALSE)

jcaledo/ptm_0.1.1 documentation built on April 4, 2020, 3:48 a.m.