Learn R Programming

phylosim (version 3.0.5)

as.character.Alphabet: Get the character representation of an Alphabet object

Description

Get the character representation of an Alphabet object.

Usage

# S3 method for Alphabet
as.character(x, ...)

Arguments

x

An Alphabet object

...

Not used.

Value

Returns the character vector containing the symbol set.

See Also

For more information see Alphabet.

Examples

Run this code
# NOT RUN {
	# create alphabet object
	a<-Alphabet(symbols=c("A","T","G","C","N"))
	# get charcter representation
	as.character(a)
 
# }

Run the code above in your browser using DataLab