getSymbolLength.Alphabet: Get the length of the symbols in a given alphabet object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the length of the symbols in a given alphabet object.

Usage

1
2
## S3 method for class 'Alphabet'
getSymbolLength(this, ...)

Arguments

this

An Alphabet object.

...

Not used.

Value

A numeric vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Alphabet.

Examples

1
2
3
4
5
6
7
8
	# create an alphabet object
	a<-Alphabet(symbols=c("AAA","AAC"));
	# get symbol length
	getSymbolLength(a);
	# get symbol length via virtual field
	a$symbolLength

 

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