Q_chromevolM3: Calculates Q-matrix for chromevol M3 model (beta version)

Description Usage Arguments Details Value

Description

Calculates Q-matrix for chromevol M3 model (beta version)

Usage

1
Q_chromevolM3(log.theta, size)

Arguments

log.theta

vector of size 4 indicating parameters in ln scale for chromevol M3 the order of the parameters is (lambda,delta, rho, mu) (in that order, lambda=+1, delta=-1, rho=x2, mu=x1.5)

size

Maximum number of chromosomes in the sample (recommended no more than 40)

Details

Q_chomevolM3 determines the Q-matrix for a model of chromosome number change with duplications, dysploidy, and demiploidy.

Value

Q a sparse matrix of size (size+10)


roszenil/chromploid documentation built on May 27, 2019, 11:42 p.m.