plot.ToleranceSubstitution: Create a bubble plot of the substitution process

Description Usage Arguments Value Author(s) See Also Examples

Description

Create a bubble plot of the substitution process.

Bubble plots visualize the characteristics of the substitution process. The area of the circles is proportional to the rates/probabilities. The plot is not produced if the rate matrix or the equlibrium distribution has undefined elements.

Usage

1
2
## S3 method for class 'ToleranceSubstitution'
plot(x, scale=1, ...)

Arguments

x

An object inheriting from ToleranceSubstitution.

scale

A scale factor affecting the area of the circles.

...

Not used.

Value

The process object (invisible).

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see ToleranceSubstitution.

Examples

1
2
3
4
5
6
7
	plot(BinarySubst(rate.list=list("0->1"=1,"1->0"=1.5)))
	plot(JC69())
	# get smaller circles
	plot(JC69(),scale=0.5)
	plot(F84(base.freqs=c(3/6,1/6,1/6,1/6)))
	plot(WAG())
 

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