ASRV.Free — Free rates model

Usage

ASRV.Free(submodel: DiscreteDist<CTMC<a>>, rateDist: DiscreteDist<Double>, n: Int) → DiscreteDist<CTMC<a>>

Arguments

Underlined names in default expressions refer to other arguments. A default beginning with ~ specifies a prior distribution.

submodel:

The model to be scaled

rateDist:

Rates for each category

Default: ~DirichletOnDirichlet(n,2,2)

n:

Number of categories, if not specified

Default: 4

Original default expressions
rateDist
~DirichletOnDirichlet(@n,2,2)

Description

Rate heterogeneity model where the rate and frequency of each category can be estimated from the data.

Examples

HKY85 +> ASRV.Free(n=3)

Citation

Yang, Ziheng (1995). A space-time process model for the evolution of DNA sequences.. Genetics 139(2): 993--1005. PMID: 7713447 · PMCID: PMC1206396