Description Usage Arguments Examples
View source: R/associationTest.R
Constructs a S3-object containing a SNP design matrix and a hierarchy. If
a SNP in the input object contains missing data, the clustering is used to impute
information from highly correlated neighbor SNPs. The genotype object is needed for
qtcatHit
as input.
1 | qtcatGeno(snp, snpClust, absCor, min.absCor = 0.5, mc.cores = 1)
|
snp |
an object of S4 class snpMatrix. |
snpClust |
an object of class |
absCor |
a vector of absolute value of correlations considered in the hierarchy. |
min.absCor |
a minimum absolute value of correlation which is considered. A value in the range from 0 to 1. |
mc.cores |
a number of cores for parallelising. The maximum is |
1 2 3 4 5 6 7 | # file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
clust <- qtcatClust(snp)
# Construct geotype object
geno <- qtcatGeno(snp, clust)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.