alleleFreq-snpMatrix-method: Allele frequency

Description Usage Arguments Examples

Description

Allele frequency an object of class snpMatrix.

Usage

1
2
## S4 method for signature 'snpMatrix'
alleleFreq(x, maf = TRUE)

Arguments

x

an object of class snpMatrix.

maf

logical, if true minor allele frequency (default), other ways allele frequency of 'allele.1'.

Examples

1
2
3
4
# file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
af <- alleleFreq(snp)

QTCAT/qtcat documentation built on April 20, 2021, 11:20 p.m.