getTrans {seqinr}R Documentation

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

Author(s)

D. Charif

References

  citation("seqinr")

See Also

translate

Examples

 methods(getTrans)

[Package seqinr version 1.0-4 Index]