estimSnpMaf: Minor allele frequencies

View source: R/quantgen.R

estimSnpMafR Documentation

Minor allele frequencies

Description

Estimate minor allele frequencies of bi-allelic SNPs.

Usage

estimSnpMaf(X = NULL, afs = NULL)

Arguments

X

matrix of bi-allelic SNP genotypes encoded in allele doses in [0,2], with genotypes in rows and SNPs in columns; missing values should be encoded as NA

afs

vector of allele frequencies; if NULL, X should be specified, and the allele frequencies will be estimated with estimSnpAf

Value

vector

Author(s)

Timothee Flutre

See Also

estimSnpAf


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.