Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


seqinr (version 1.0-4)

getTrans: Generic Function to translate a sequence

Description

Methods for the class of sequences: SeqFastadna, SeqFastaAA, SeqAcnucWeb, SeqFrag.

Usage

getTrans(seq, frame = 0, sens = "F", numcode = 1)

Arguments

seq
an object of class SeqFastadna, SeqFastaAA, SeqAcnucWeb or SeqFrag.
frame
Frame(s) (0,1,2) to translate. By default the frame 0 is used.
sens
Sense to translate: F for forward sense and R for revers sense.
numcode
The number of the code to use. By default the standard genetic code is used.

Value

  • a vector of chars containing the sequence

References

citation("seqinr")

See Also

translate

Examples

Run this code
methods(getTrans)

Run the code above in your browser using DataLab