Learn R Programming

baseq (version 0.2.0)

rna_to_protein: Translate RNA to Protein

Description

Translates an RNA sequence into protein in all 6 reading frames.

Usage

rna_to_protein(s, table = 1)

Value

A list of translated protein sequences

Arguments

s

A character string containing the RNA sequence

table

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