bunch_translate: Nucleotide to amino acid sequence translation

View source: R/tools.R

bunch_translateR Documentation

Nucleotide to amino acid sequence translation

Description

Nucleotide to amino acid sequence translation

Usage

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

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 ~

Value

Character vector of translated input sequences.

Examples

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

immunomind/immunarch documentation built on March 20, 2024, 12:01 p.m.