codon: converts codon nucleotide sequences to amino acids

Description Usage Arguments Value Examples

View source: R/codon.R

Description

converts codon nucleotide sequences to amino acids

Usage

1
codon(x, y = NULL)

Arguments

x

first sequence

y

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

Value

converted amino acid annotation

Examples

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

zktuong/kelvinny documentation built on Oct. 22, 2020, 1:27 p.m.