Learn R Programming

phylosim (version 3.0.5)

getId.Sequence: Get the unique identifier of a Sequence object

Description

Get the unique identifier of a Sequence object. The identifier is the concatenation of the object name and the object hash code as returned by hashCode().

Usage

# S3 method for Sequence
getId(this, ...)

Arguments

this

A Sequence object.

...

Not used.

Value

A charcter vector of length one.

See Also

For more information see Sequence.

Examples

Run this code
# NOT RUN {
	# create a Sequence object.
	s<-Sequence(length=5)
	# get id
	getId(s)
	# get id via virtual field
	s$id
 
# }

Run the code above in your browser using DataLab