A mutation matrix is used to simulate mutations that affect loci. An object
of the class MutationMatrix does not only contain a (haplotypic)
mutation matrix. It also contains the attributes necessary for the
construction and easy-to-read display of this matrix.
mutHapLocia list of haploid locus by locus allelic mulation matrices.
mutDipLocia list of diploid locus by locus allelic mulation matrices.
mutLocia list concatenating mutHapLoci and mutDipLoci
nbAlDLa vector of the number(s) of alleles at each haploid locus
nbAlHLa vector of the number(s) of alleles at each diploid locus
mutationMatrixthe haplotypic mutation matrix
nbHaplothe number of haplotypes
nbDLthe number of diploid loci
nbHLthe number of haploid loci
haplotypesthe enumeration of haplotypes
IDgenomeID of the associated genome
Ehouarn Le Faou
The mutation matrix itself is a square matrix of size equal to the number of haplotypes. It is a probability matrix in that the sum of the values in each row is equal to 1. For a given haplotype, the row associated with it describes the probabilistic proportions that lead by mutation of this haplotype to the production of the other haplotypes (and of itself if there are no mutations).