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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.