recode.hap {HAPim}R Documentation

recoding of haplotypes

Description

The function recodes haplotypes of individuals in consecutive numeric values. It can be viewed as an internal function. The user does not have to call it by himself.

Usage

recode.hap(hap, all.marq)

Arguments

hap character matrix (number of individuals x number of markers) which contains the haplotype of individuals.
all.marq results provided by allele.marq() function, list of alleles (coded with character values) for each marker.

Value

the returned value is a numeric matrix (number of individuals x number of markers) which contains the recoded haplotype of individuals.

Author(s)

S. Dejean, N. Oumouhou, D. Estivals, B. Mangin

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.

See Also

allele.marq


[Package HAPim version 1.3 Index]