reset_minor_additive: Function to reset the additive coding genotype into nubmer of...

Description Usage Arguments Value

Description

This is not needed if your genotype coding is based on the number of minor allele. It calls get_allele_frq for the allele frequency then reset the genotype matrix if frequency >0.5.

Usage

1

Arguments

M

the additive coding genotype matrix for the whole sample

Value

a matrix for additive genotype in terms of number of minor allels.


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.