R/amino_acids.R

Defines functions amino_acids

Documented in amino_acids

#' The 20 standard amino acids
#'
#' The 20 amino acids that are encoded directly by the codons of the universal
#' genetic code.
#'
#' @return Three-letter codes of the standard amino acids.
#'
#' @examples
#' amino_acids()
#'
#' @export
amino_acids <- function() {
  c(
    "Ser", "Arg", "Leu", "Pro", "Thr", "Ala", "Val", "Gly", "Ile",
    "Phe", "Tyr", "Cys", "His", "Gln", "Asn", "Lys", "Asp", "Glu",
    "Met", "Trp"
  )
}

Try the grantham package in your browser

Any scripts or data that you put into this service are public.

grantham documentation built on June 8, 2025, 9:41 p.m.