Description Usage Arguments Value Examples
Takes a file or data.frame
object with columns 'chr','pos', and 'rsid', and creates an SQLite table of the information. Returns a count of the number of SNPs in the table.
1 | setSNPTable(snpInfo,table='allchrpos',db='snplistdb')
|
snpInfo |
A |
table |
Name of the SQLite table to be created. Default is 'allchrpos'. |
db |
Name of the SQLite database in which to create |
Count of genes included in table
.
1 2 3 4 5 6 7 8 | snpInfo <- cbind(c(17,17,13,13),
c(41211653, 41213996, 32890026,32890572),
c("rs8176273","rs8176265","rs9562605","rs1799943") )
colnames(snpInfo) <- c('chr','pos','rsid')
## Not run:
setSNPTable(as.data.frame(snpInfo))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.