getString.Sequence: Get the string representation of a Sequence object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the string representation of a Sequence object. The string representation is the concatenation of the states of the aggregated Site object. Undefined states (NA-s) are represented by question marks.

Usage

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

Arguments

this

A Sequence object.

...

Not used.

Value

A character 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 object
	s<-Sequence(length=10)
	# get character representation
	getString(s)	# a bunch of '?'-s
	# get string reperesentation via virtual field
	s$string
 

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