getProcess.Event: Get the Process object which generated an Event object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the Process object which generated an Event object.

Usage

1
2
## S3 method for class 'Event'
getProcess(this, ...)

Arguments

this

An Event object.

...

Not used.

Value

A Process object.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Event.

Examples

1
2
3
4
5
6
7
	# create a sequence and attach a process
	s<-NucleotideSequence(string="ATGC",processes=list(list(JC69())))
	# get the first active event from the first site
	e<-s$sites[[1]]$events[[1]]
	# get the generator process for e
	e$process
 

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