cmaf: cmaf

Description Usage Arguments Value Examples

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)

cgenpp documentation built on May 2, 2019, 5:56 p.m.

Related to cmaf in cgenpp...