isStopCodon.CodonAlphabet: Check if a codon is a stop codon

Description Usage Arguments Value Author(s) See Also Examples

Description

Check if a codon is a stop codon.

Usage

1
2
## S3 method for class 'CodonAlphabet'
isStopCodon(this, codon, ...)

Arguments

this

A CodonAlphabet object.

codon

The codon to be checked.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see CodonAlphabet.

Examples

1
2
3
4
5
6
	# create a CodonAlphabet object
	a<-CodonAlphabet()
	# check some codons
	isStopCodon(a,"ATG")
	isStopCodon(a,"TGA")
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.