areSynonymous.CodonAlphabet: Check whether two codons are synonymous

Description Usage Arguments Value Author(s) See Also Examples

Description

Check whether two codons are synonymous.

Usage

1
2
## S3 method for class 'CodonAlphabet'
areSynonymous(this, codons, ...)

Arguments

this

A CodonAlphabet object.

codons

A vector containing two codons.

...

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
	# create a CodonAlphabet object
	a<-CodonAlphabet()
	areSynonymous(a,c("TCC","TCT"))
	areSynonymous(a,c("TCC","CCT"))
 

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