translate: Translation according to the standard genetic code

Description Usage Arguments Details Value Author(s) Examples

View source: R/dnaManipulate.R

Description

The translation from DNA(RNA) to amino acid sequence according to the standard genetic code.

Usage

1
translate(nuc.sequences, M.start = TRUE)

Arguments

nuc.sequences

Character vector containing the nucleotide sequences.

M.start

A logical indicating if the amino acid sequence should start with M regardless of start codon (ATG, GTG or TTG).

Details

This function uses the Biostrings::translate function.

Value

A character vector of translated sequences.

Author(s)

Lars Snipen and Kristian Hovde Liland.

Examples

1
2
3
ex.file <- file.path(file.path(path.package("microseq"),"extdata"),"small.fasta")
fdta <- readFasta(ex.file)
translate(fdta$Sequence)

microseq documentation built on May 30, 2017, 12:39 a.m.

Search within the microseq package
Search all R packages, documentation and source code