AMINO_ACID_CODE: The Single-Letter Amino Acid Code

Description See Also Examples

Description

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

See Also

AAString, GENETIC_CODE

Examples

1
2
3
4
5
6
  ## 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]]]

anandhupresannan/biostrings documentation built on Nov. 2, 2019, 1:47 p.m.