Get.G: Create genotypes from haplotypes

Description Usage Arguments Details Value Author(s)

View source: R/Get.G.R

Description

Create genotypes from haplotypes

Usage

1
Get.G(haplotypes)

Arguments

haplotypes

Matrix of haplotypes (rows: individuals, columns: alleles)

Details

Given a matrix of haplotypes (with one allele per column), this function creates a matrix of genotypes by combining the alleles from odd and even columns into genotypes.

Value

Matrix of genotypes (rows: individuals, columns genotypes)

Author(s)

Karim Oualkacha


GreenwoodLab/RVPedigree documentation built on May 6, 2019, 6:33 p.m.