bunch_translate {immunarch} | R 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))
[Package immunarch version 0.9.1 Index]