codon: converts codon nucleotide sequences to amino acids

View source: R/codon.R

codonR Documentation

converts codon nucleotide sequences to amino acids

Description

converts codon nucleotide sequences to amino acids

Usage

codon(x, y = NULL)

Arguments

x

first sequence

y

default = NULL. If provided, will print aa1>aa2.

Value

converted amino acid annotation

Examples

codon("ttt")
# [1] "Phe"
codon("ttt", "ttg")
# [1] "Phe>Leu"

zktuong/kelvinny documentation built on July 18, 2024, 10:42 a.m.