as.character.Site: Get the character representation of a Site object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the character representation of a Site object.

Usage

1
2
## S3 method for class 'Site'
as.character(x, ...)

Arguments

x

A Site object.

...

Not used.

Value

A character vector of length one containing the current state.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Site.

Examples

1
2
3
4
5
6
7
	# create site object
	s<-Site(alphabet=NucleotideAlphabet(),state="A")
	# get character represenation
	x<-as.character(s)
	x

 

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