Description Usage Arguments Value Author(s) See Also Examples
Attach a Process object to a Site object.
The Alphabet objects associated with the Site and Process objects must have the same symbol set, or at least one of them should inherit from the class AnyAlphabet.
During the attachment, the site-process specific parameter templates are copied from the Process object and stored in the Site object. The Process objects are marked as write protected if the attachment was succesful.
1 2 | ## S3 method for class 'Site'
attachProcess(this, process, ...)
|
this |
A Site object. |
process |
A Process object. |
... |
Not used. |
The Site object (invisible).
Botond Sipos, Gregory Jordan
Site Process detachProcess setProcesses getProcesses isAttached
1 2 3 4 5 6 7 8 9 10 11 | # create a Site object and the associated NucleotideAlphabet object
s<-Site(alphabet=NucleotideAlphabet())
# create a K80 substitution process
p<-K80()
# attach p to s
attachProcess(s,p)
# get the list of attached processes
s$processes
# check write protection for p
p$writeProtected
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.