getUniqueProcesses.Sequence: Get the list of unique Process instances attached to the Site...

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
## S3 method for class 'Sequence'
getUniqueProcesses(this, ...)

Arguments

this

A Sequence object.

...

Not used.

Value

A list of Process objects.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Sequence.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
	# 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
 

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