Learn R Programming

phylosim (version 3.0.5)

plot.Sequence: Plot the total site rates for a collection of Site objects aggregated by a Sequence object

Description

Plot the total site rates for a collection of Site objects aggregated by a Sequence object.

Usage

# S3 method for Sequence
plot(x, index=NA, ...)

Arguments

x

A Sequence object.

index

An integer vector specifying a set of positions. It is set to 1:seq$length if omitted.

...

Not used.

Value

Invisible TRUE or FALSE.

See Also

For more information see Sequence.

Examples

Run this code
# NOT RUN {
	# create a nucleotide sequence with a process attached
	s<-NucleotideSequence(string="ATGGCCA",processes=list(list(JC69())))
	# plot total rates in range 1:4
	plot(s,1:4)
	# plot all total rates
	plot(s)
 
# }

Run the code above in your browser using DataLab