setTheta.T92: Set the GC content

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the GC content.

Usage

1
2
## S3 method for class 'T92'
setTheta(this, value, ...)

Arguments

this

A T92 object.

value

A numeric vector of length one.

...

Not used.

Value

The new value of theta (invisible).

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see T92.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
       # construct a T92 object
       p<-T92()
       # set/get GC content
	setTheta(p,0.6)
	getTheta(p)
	# set/get GC content via virtual field
	p$theta<-0.3
	p$theta
	# get object summary
	summary(p)
 

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