getSites.Sequence: Get the list of the Site object aggregated in a Sequence...

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the list of the Site object aggregated in a Sequence object. Warning: there is no setSites method!

Usage

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

Arguments

this

A Sequence object.

...

Not used.

Value

A list of Site objects.

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(alphabets=list(NucleotideAlphabet()),string="AATTGCCC")
	# get the list of aggregated Site objects
	getSites(s)
	# get Site objects via virtual field
	s$sites
 

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