Learn R Programming

hscovar (version 0.4.2)

Haplo2Geno: 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

Run this code
# NOT RUN {
 data(testdata)
 G <- Haplo2Geno(H.sire)
# }

Run the code above in your browser using DataLab