Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


cpgen (version 0.1)

cmaf: cmaf

Description

Computes the minor allele frequencies of a marker-matrix.

Usage

cmaf(X)

Arguments

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

Value

Numeric Vector of minor allele frequencies for every column in X

Examples

Run this code
# generate random data
rand_data(500,5000)

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

Run the code above in your browser using DataLab