getLength.Sequence: Get the number of Site objects aggregated in a Sequence...

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the number of Site objects aggregated in a Sequence object.

Usage

1
2
## S3 method for class 'Sequence'
getLength(this, ...)

Arguments

this

A Sequence object.

...

Not used.

Value

An integer vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Sequence.

Examples

1
2
3
4
5
6
7
	# create a Sequence object
	s<-Sequence(length=5)
	# get sequence length
	getLength(s)
	# get length via virtual field
	s$length
 

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