Description Usage Arguments Value Author(s) See Also Examples
Attach a Process object to a set of Site objects aggregated by a Sequence object.
1 2 | ## S3 method for class 'Sequence'
attachProcess(this, process, index, ...)
|
this |
A Sequence object. |
process |
A Process object. |
index |
An integer vector specifying a set of positions. It is set to 1:seq$length if omitted. |
... |
Not used. |
The Sequence object (invisible).
Botond Sipos, Gregory Jordan
For more information see Sequence
.
1 2 3 4 5 6 7 8 9 10 11 | # create a Sequence object of length 6
s<-Sequence(length=10,alphabets=list(NucleotideAlphabet()))
# attach a JC69 substitution process
attachProcess(s,JC69())
# get the list of attached processes
s$processes
# attach the GTR substitution process to range 3:6
attachProcess(s,GTR(),3:6)
# get the list of attached processes
s$processes
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.