Learn R Programming

phylosim (version 3.0.5)

getSymbols.Alphabet: Get the symbol set from an Alphabet object

Description

Get the symbol set from an Alphabet object.

Usage

# S3 method for Alphabet
getSymbols(this, ...)

Arguments

this

An Alphabet object.

...

Not used.

Value

A character vector containing the symbol set of the Alphabet object.

See Also

For more information see Alphabet.

Examples

Run this code
# NOT RUN {
	# create a new alphabet object
	a<-Alphabet(symbols=c("AC","GT"));
	# get the symbols
	getSymbols(a)
	# get the symbols by using the virtual field
	a$symbols
 
# }

Run the code above in your browser using DataLab