get_allele_frq: Function to calculate the allele frequency from additive...

Description Usage Arguments Value

Description

Function to calculate the allele frequency from additive coding genotype, the number of allele is not necessarily for minor allele. For people know plink, there is another option to calcualte the MAF.

Usage

1

Arguments

M

the additive coding genotype, a matrix with column for each variant

Value

a vector of allele frequency calculated based on the non-missing data


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