collapse: Collpase genotypes

Description Usage Arguments Value Author(s)

View source: R/0_utils.R

Description

Collpase genotypes

Usage

1
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.

Author(s)

Kaiyin Zhong


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.