Description Usage Arguments Details Value Author(s) Examples
View source: R/ConvertPeptide.R
Convert single amino acid codes to an elemental formula or three letter codes.
1 | ConvertPeptide(sequence, output = "elements", IAA = TRUE)
|
sequence |
a character string representing the amino acid sequence. |
output |
a character string specifying the output. Options are |
IAA |
logical. |
The amino acid residues must be specified by the one letter codes defined in the help for Digest.
The argument IAA specifies treatment of the protein with iodoacetamide to break the disulfide bonds. This treatment produces iodoacetylated cysteine residues (elemental formula C5H8N2O2S).
If output = "elements", the value is a list specifying the number of each element. This list can be used as input to other functions, see the examples. If output = "3letter", the value is a vector of length 1, containing the amino acid sequence in three letter codes.
Nathan G. Dodder
1 2 3 4 5 6 7 | ConvertPeptide("SEQENCE", output = "3letter")
# as input to MonoisotopicMass
MonoisotopicMass(formula = ConvertPeptide("SEQENCE"), charge = 1)
# as input to MolecularWeight
MolecularWeight(formula = ConvertPeptide("SEQENCE"))
|
Loading required package: grid
[1] "SerGluGlnGluAsnCysGlu"
[1] 895.3098
[1] 894.861
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.