lengthpep | R Documentation |
This function counts the number of amino acids in a protein sequence
lengthpep(seq)
seq |
An amino-acids sequence |
All proteins are formed by linear chains of small residues known as amino acids attached to each other by peptide bonds. The function lengthpep
counts the number of amino acids in a sequence and returns a vector with the count for each peptide used as argument.
# COMPARED TO ExPASy ProtParam
# http://web.expasy.org/protparam
# SEQUENCE: QWGRRCCGWGPGRRYCVRWC
# Number of amino acids: 20
lengthpep(seq = "QWGRRCCGWGPGRRYCVRWC")
# [1] 20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.