mutMatRates {Ease}R Documentation

Mutation matrix from rates

Description

Generation of a mutation matrix from the allele enumeration vector of a loci and the forward and backward mutation rates.

Usage

mutMatRates(alleles, forwardMut, backwardMut)

Arguments

alleles

allele enumeration vector of a locus

forwardMut

forward mutation rate

backwardMut

backward mutation rate

Details

See MutationMatrix for more details on mutation matrices.

Value

An allelic mutation matrix (probability matrix which associates to each allele in a row the probability of mutating or not to the other alleles of the locus in question).

Author(s)

Ehouarn Le Faou


[Package Ease version 0.1.2 Index]