
Last chance! 50% off unlimited learning
Sale ends in
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.
# S3 method for Sequence
plotParametersAtSites(this, process, id, index, ...)
A Sequence object.
A Process object.
The identifier of the site-process specific parameter.
An integer vector specifying a set of positions. It is set to 1:seq$length if omitted.
Not used.
Invisible TRUE or FALSE.
Site Process Sequence
# NOT RUN {
# 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")
# }
Run the code above in your browser using DataLab