Learn R Programming

ptm (version 0.2.2)

aa.comp: Amino Acid Composition

Description

Returns a table with the amino acid composition of the target protein.

Usage

aa.comp(target, uniprot = TRUE)

Arguments

target

a character string specifying the UniProt ID of the protein of interest or, alternatively, the sequence of that protein.

uniprot

logical, if TRUE the argument 'target' should be an ID.

Value

Returns a dataframe with the absolute frequency of each type of residue found in the target peptide.

See Also

is.at(), renum.pdb(), renum.meto(), renum(), aa.at()

Examples

Run this code
# NOT RUN {
aa.comp('MPSSVSWGILLLAGLCCLVPVSLAEDPQGDAAQK', uniprot = FALSE)
aa.comp('P01009')
# }

Run the code above in your browser using DataLab