The 20 amino acids that are encoded directly by the codons of the universal genetic code.
Usage
amino_acids(code = c("one_letter", "three_letter"))
Arguments
- code
The type of amino acid symbol to be returned, one-letter (`one_letter`) or three-letter (`three_letter`) codes.
Examples
# By default `amino_acids` returns one-letter symbols
amino_acids()
#> [1] "S" "R" "L" "P" "T" "A" "V" "G" "I" "F" "Y" "C" "H" "Q" "N" "K" "D" "E" "M"
#> [20] "W"
# Use code = 'three_letter' instead for three-letter symbols
amino_acids(code = 'three_letter')
#> [1] "Ser" "Arg" "Leu" "Pro" "Thr" "Ala" "Val" "Gly" "Ile" "Phe" "Tyr" "Cys"
#> [13] "His" "Gln" "Asn" "Lys" "Asp" "Glu" "Met" "Trp"