Haplo2Geno {hscovar}R Documentation

Conversion of haplotypes into genotypes

Description

Haplotypes are converted into into genotypes without checking for missing values.

Usage

Haplo2Geno(inpMat)

Arguments

inpMat

[MATRIX] haplotype matrix (2 lines per individual)

Value

outMa

(N x p) genotype matrix

Examples

 data(testdata)
 G <- Haplo2Geno(H.sire)

[Package hscovar version 0.4.2 Index]