CollapsABEL (version 0.10.11)

collapse: Collpase genotypes

Description

Collpase genotypes

Usage

collapse(g1, g2, collapse_matrix = NULL)

Arguments

g1
numeric, genotype vector 1.
g2
numeric, genotype vector 2.
collapse_matrix
matrix of integers range from 0 to 3.

Value

numeric, collapsed genotype of g1 and g2.