setGeneTable and setSNPTable) to make SNP sets. The SNP Set for each gene is the collection of SNPs located either between the start and end locations of the gene, or within a specified neighborhood around the gene. The SNP Sets are stored in the SQLite database, and returned as a list object.makeGeneSet(annoInfo=NULL,margin=0,annoTable='anno',geneTable='gene',
allTable='allchrpos',db='snplistdb',dbCleanUp=FALSE)vector of rsIDs, a data.frame with an 'rsid' column, or a file with one rsID per line. The SNP sets will be restricted to contain only the SNPs listed here. Default is NULL, in which case all SNPs present in the SNP table in thannoInfo. Also used in naming the resulting table of SNP sets ('setGeneTable. Default is 'gene'.setSNPTable. Default is 'allchrpos'.list of SNP sets of the form:setGeneTable and setSNPTable functions and the SQLite databes and tables they create. If the table or db argument in either of those functions is changed from the default value, it must also be changed here.setGeneTable, setSNPTable, snplist-package# Please see the vignette or the package description
# for an example of using this function.Run the code above in your browser using DataLab