Learn R Programming

HAPim (version 1.3)

freq.all: allelic frequencies

Description

The function calculates allelic frequencies by marker given a set of haplotypes. It can be viewed as an internal function. The user does not have to call it by himself.

Usage

freq.all(hap)

Arguments

hap
numeric matrix (number of individuals x number of markers) which contains the haplotype of individuals.

Value

The returned value is a list of n elements (n=number of markers) which gives the allelic frequencies by marker, ranged in ascending order of allele index.

References

publication to be submitted: C. Cierco-Ayrolles, S. Dejean, A. Legarra, H. Gilbert, T. Druet, F. Ytournel, D. Estivals, N. Oumouhou and B. Mangin. Combining linkage analysis and linkage disequilibrium for QTL fine mapping in animal pedigrees.