as.character.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'
as.character(x, ...)

Arguments

x

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
	# create object
	s<-Sequence(length=10)
	# get character representation
	as.character(s)
 

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