cmaf: cmaf

Description Usage Arguments Value Examples

View source: R/ctools.R

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)


cpgen documentation built on May 19, 2017, 8:29 p.m.
Search within the cpgen package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.