transl.Rd
This function takes CDS sequence as string as input an returns the corresponding amino acid sequence as string.
transl(sequence)
sequence | a character string specifying CDS sequence of interest. |
---|
A character string specifying the corresponding amino acid sequence.
Hajk-Georg Drost
# an example DNA sequence DNA <- c("ACCGGTTTAAAGGCGTTA") # translating DNA to a protein sequence transl(DNA)#> [1] "TGLKAL"