collapse: Collpase genotypes

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.