dna_to_aa: Convert DNA sequence to amino-acid

View source: R/main.R

dna_to_aaR Documentation

Convert DNA sequence to amino-acid

Description

Convert three-letter sequence of ATGC to corrseponding translated amino-adid sequence. Amino-acids can be reported in full name or single-letter code. Function is most efficient when using a vector of sequences.

Usage

dna_to_aa(x, output_format = 1)

Arguments

x

three-letter character sequence of A, T, G and C.

output_format

1 for full name, 2 for single-letter code.


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.