convert_single | R Documentation |
convert_single()
converts the 1-letter amino acid abbreviation to the
3-letter amino acid abbreviation and convert_three()
does the opposite.
convert_single(str)
convert_three(str)
str |
Character vector containing amino acids to convert. |
Conversion is case-insensitive, but always returns capitalized 1-letter and 3-letter abbreviations in title-case.
Character vector with converted amino acid abbreviations.
# Convert 1-letter abbreviation
convert_single("G235L")
convert_single("s545p")
# Convert 3-letter abbreviation
convert_three("Gly235Leu")
convert_three("SER545LEU")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.