Learn R Programming

Ease (version 0.1.2)

alleleFreqMatGeneration: Generation of the matrix for calculating allelic frequencies

Description

Generates a matrix that allows to go from genotypic frequencies to allelic frequencies.

Usage

alleleFreqMatGeneration(genomeObj)

Value

A matrix for calculating allelic frequencies from genotypes frequencies.

Arguments

genomeObj

a Genome object

Author

Ehouarn Le Faou

Details

An allele frequency matrix is a matrix with rows equal to the number of genotypes and columns equal to the number of alleles. By multiplying a row matrix of genotype frequencies we obtain a row matrix of associated allele frequencies.