Description Usage Arguments Value Author(s) See Also Examples
Get the sum of all active event rates from a Sequence object. The sum of active event rates depends on all Site object states and on the attached Process objects. It basically returns the last element of the cumulative site rates vector.
1 2 | ## S3 method for class 'Sequence'
getBigRate(this, ...)
|
this |
A Sequence object. |
... |
Not used. |
A numeric vector of length one.
Botond Sipos, Gregory Jordan
For more information see Sequence
.
1 2 3 4 5 6 7 8 9 10 | # create a nucleotide sequence attach a process
s<-NucleotideSequence(length=5);
s$processes<-list(list(JC69()))
# get the sum of active event rates
getBigRate(s) # returns NA because site states are undefined
# set site states
s$states<-c("A","T")
# get big rate via virtual field
s$bigRate
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.