Description Usage Arguments Value Author(s) See Also Examples
Generate the list of active Event objects given a Site object. The Process object must be attached to the specified Site object.
This method is crucial for the simulations. For the Process class it returns an empty list. Descendant classes should implement meaningful getEventsAtSite methods.
1 2 | ## S3 method for class 'Process'
getEventsAtSite(this, site, position, ...)
|
this |
A Process object. |
site |
A valid Site object. |
position |
The position of the site in the enclosing Sequence object (if any). |
... |
Not used. |
An empty list.
Botond Sipos, Gregory Jordan
For more information see Process
.
1 2 3 4 5 6 7 8 9 10 | # create objects
a<-NucleotideAlphabet()
p<-Process(alphabet=a)
s<-Site(alphabet=a)
# attach Process p to Site s
s$processes<-list(p)
# get active Event objects (empty list)
getEventsAtSite(p,s)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.