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 Jan. 7, 2022, 9:06 a.m.