Learn R Programming

immunarch (version 0.9.1)

bunch_translate: Nucleotide to amino acid sequence translation

Description

Nucleotide to amino acid sequence translation

Usage

bunch_translate(.seq, .two.way = TRUE, .ignore.n = FALSE)

Value

Character vector of translated input sequences.

Arguments

.seq

Vector or list of strings.

.two.way

Logical. If TRUE (default) then translate from the both ends (like MIXCR).

.ignore.n

Logical. If FALSE (default) then return NA for sequences that have N, else parse triplets with N as ~

Examples

Run this code
data(immdata)
head(bunch_translate(immdata$data[[1]]$CDR3.nt))

Run the code above in your browser using DataLab