cmaf

Share:

Description

Computes the minor allele frequencies of a marker-matrix.

Usage

1
cmaf(X)	

Arguments

X

Marker matrix with {-1,0,1} coding

Value

Numeric Vector of minor allele frequencies for every column in X

Examples

1
2
3
4
5
# generate random data
rand_data(500,5000)

# compute minor allele frequencies
mafs <- cmaf(M)