getBaseFreqs.K81: Get the base frequency parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the base frequency parameters.

The order of the frequency parameters must match with the order of symbols in the NucleotideAlphabet objects. The K81 model has equal base frequencies.

Usage

1
2
## S3 method for class 'K81'
getBaseFreqs(this, ...)

Arguments

this

A K81 object.

...

Not used.

Value

A matrix containing the base frequency parameters.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see K81.

Examples

1
2
3
4
5
6
7
	# construct object
	p<-K81()
	# get base frequency parameters
	getBaseFreqs(p) # uniform
	# set/get base frequency parameters via virtual field
	p$baseFreqs # uniform
 

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