Learn R Programming

phylosim (version 3.0.5)

Translate.CodonSequence: Translate a CodonSequence object

Description

Translate a CodonSequence object.

Usage

# S3 method for CodonSequence
Translate(this, ...)

Arguments

this

A CodonSequence object

...

Not used.

Value

The translation as an AminoAcidSequence object.

See Also

For more information see CodonSequence.

Examples

Run this code
# NOT RUN {
	# create a CodonSequence object
	s<-CodonSequence(string="ATCTTTCGAATGGGGCCCTCCCGA")
	# get the translation as an AminoAcidSequence object
	as<-Translate(s)
	as
 
# }

Run the code above in your browser using DataLab