Description Usage Arguments Examples
Allele frequency an object of class snpMatrix.
1 2 | ## S4 method for signature 'snpMatrix'
alleleFreq(x, maf = TRUE)
|
x |
an object of class snpMatrix. |
maf |
logical, if true minor allele frequency (default), other ways allele frequency of 'allele.1'. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.