Learn R Programming

baseq (version 0.2.0)

dna_to_protein: Translate DNA to Protein

Description

Translates a DNA sequence into protein in all 6 reading frames.

Usage

dna_to_protein(s, table = 1)

Value

A list of translated protein sequences

Arguments

s

A character string containing the DNA sequence

table

Integer indicating the NCBI genetic code table (default: 1)