Learn R Programming

Biostrings (version 2.40.2)

AMINO_ACID_CODE: The Single-Letter Amino Acid Code

Description

Named character vector mapping single-letter amino acid representations to 3-letter amino acid representations.

Arguments

See Also

AAString, GENETIC_CODE

Examples

Run this code
  ## See all the 3-letter codes
  AMINO_ACID_CODE

  ## Convert an AAString object to a vector of 3-letter amino acid codes
  aa <- AAString("LANDEECQW")
  AMINO_ACID_CODE[strsplit(as.character(aa), NULL)[[1]]]

Run the code above in your browser using DataLab