Learn R Programming

phylosim (version 3.0.5)

getUniqueProcesses.Sequence: Get the list of unique Process instances attached to the Site objects aggregated by a Sequence object

Description

Get the list of unique Process instances attached to the Site objects aggregated by a Sequence object.

Usage

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

Arguments

this

A Sequence object.

...

Not used.

Value

A list of Process objects.

See Also

For more information see Sequence.

Examples

Run this code
# NOT RUN {
	# create a sequence object and attach processes
	p<-JC69()
	s<-Sequence(
               length=4,
               alphabets=list(NucleotideAlphabet()),
               processes=list(list(p,K80()),list(p))
               )
	# get the unique list of attached Process instances
	getUniqueProcesses(s)
	# via virtual field
	s$uniqueProcesses
 
# }

Run the code above in your browser using DataLab