getSequence.Site: Get the Sequence object associated with a given Site object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the Sequence object associated with a given Site object.

Usage

1
2
## S3 method for class 'Site'
getSequence(this, ...)

Arguments

this

A Site object.

...

Not used.

Value

A Sequence object or NA.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Site.

Examples

1
2
3
4
5
6
7
8
	# create a site object
	s<-Site(sequence=Sequence())
	# get the associated Sequence object
	getSequence(s)
	# get the associated Sequence object via virtual field
	s$sequence

 

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