recode.hap: recoding of haplotypes

Description Usage Arguments Value Author(s) References See Also

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

1
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


HAPim documentation built on May 2, 2019, 12:10 p.m.