All functions

calcValue

calculate phenotypic values

decomposeTrait

Decompose trait values according to the model z=G+I+E+epsilon

decomposeVar

Variance decomposition of trait values

extractDRCouples

Extract donor-recipient couples from an epidemic

extractPop

Extract a sub-population of individuals involved in an epidemic

extractTree

Extract the transmission tree connecting sampled individuals in a simulated epidemic

generateGenotypes

Possible genotypes based on numbers of alleles at QTLs.

generateRateTransTemplate

Generate a state transition template matrix based on numbers of alleles at QTLs.

newgennxNorm

simulating evolution on continuous time scale sde : numeric or vector of standard deviations of the environmental effects for each allele N : number of individuals nGtps : number of alleles sde : a numeric or a numeric matrix, sde[env, g]: standard dev of the special env. effect for <env, g>

normReactPlot

norm-reaction plot

simulateEpidemic

Simulate within and between host dynamics in an epidemic