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

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
## S3 method for class '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.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Sequence.

Examples

1
2
3
4
5
6
7
	# 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)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.