This is a simple package that only translates DNA or RNA sequences into Amino Acid codes. It does not support ambiguity codes. It will only work correctly for sequences that are from the nuclear genome of eukaryotes.

Installation

This package can be installed directly from GitHub using the following code. The r package 'devtools' is required to load this package from GitHub

install.packages("devtools")
library("devtools")
install_github('samstroupe/DNA2AA', build_vignettes = TRUE)

Example Code

This code will generate the Amino Acid code from this sequence

# load in package
library(DNA2AA)

# Create a DNA sequence
data <- "ATgctaAGCUTCgtactT"

# Translate the sequence to Amino Acid
Dna2AA(data)


samstroupe/DNA2AA documentation built on Nov. 12, 2019, 12:07 a.m.