Extract significant SNPs from an object of class 'WGassociation' when genomic information is available
getSignificantSNPs(x, chromosome, model, sig = 1e-15)
A list with the following components:
the name of SNPs
the columns corresponding to the SNPs in the original data frame
...
an object of class 'WGassociation'
chromosome from which SNPs are extracted
genetic model from which SNPs are extracted
statistical significance level. The default is 1e-15
WGassociation
data(resHapMap)
# resHapMap contains the results for a log-additive genetic model
# to get the significant SNPs for chromosome 12
getSignificantSNPs(resHapMap,chromosome=12)
# to get the significant SNPs for chromosome 5
getSignificantSNPs(resHapMap,5)
# to get the significant SNPs for chromosome X at level 1e-8
getSignificantSNPs(resHapMap,5,sig=1e-8)
Run the code above in your browser using DataLab