Description Usage Arguments Value Author(s) See Also Examples
Plot the value of a site-process specifc paramter for a collection of Site objects aggregated by a Sequence object. The type of the paramter must be numeric. The Process object must be attached to all positions specified in the index vector.
1 2 | ## S3 method for class 'Sequence'
plotParametersAtSites(this, process, id, index, ...)
|
this |
A Sequence object. |
process |
A Process object. |
id |
The identifier of the site-process specific parameter. |
index |
An integer vector specifying a set of positions. It is set to 1:seq$length if omitted. |
... |
Not used. |
Invisible TRUE or FALSE.
Botond Sipos, Gregory Jordan
Site Process Sequence
1 2 3 4 5 6 7 8 | # create a nucleotide sequence with a process attached
p<-JC69()
s<-NucleotideSequence(string="ATGGCCA",processes=list(list(p)))
# plot rate multipliers in range 1:4
plotParametersAtSites(s,p,"rate.multiplier",1:4)
# plot rate multiplier for the full sequence
plotParametersAtSites(s,p,"rate.multiplier")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.