Learn R Programming

phylosim (version 3.0.5)

isStartCodon.CodonAlphabet: Check if a codon is a start codon

Description

Check if a codon is a start codon.

Usage

# S3 method for CodonAlphabet
isStartCodon(this, codon, ...)

Arguments

this

A CodonAlphabet object.

codon

The codon to be checked.

...

Not used.

Value

TRUE or FALSE.

See Also

For more information see CodonAlphabet.

Examples

Run this code
# NOT RUN {
	# create a CodonAlphabet object
	a<-CodonAlphabet()
	# check some codons
	isStartCodon(a,"ATG")
	isStartCodon(a,"TGA")
 
# }

Run the code above in your browser using DataLab