Description Usage Arguments Examples
Heterozygosity an object of class snpMatrix.
1 2 |
x |
an object of class snpMatrix. |
dim |
a integer for dimension. 1 (default) is for rows (individuals), 2 is for columns (SNPs). |
1 2 3 4 5 | # file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
hf1 <- hetFreq(snp, 1)
hf2 <- hetFreq(snp, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.