seqinr (version 1.0-1)

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

� To have an overview of the seqinR's functionnality, please consult this vignette: Charif, D., Lobry, J.R. (2005) SeqinR: a contributed package to the R project for statistical computing devoted to biological sequences retrieval and analysis. Springer Verlag, Biological and Medical Physics/Biomedical Series, in preparation.

See Also

translate

Examples

Run this code
methods(getTrans)

Run the code above in your browser using DataLab