Description Usage Arguments Value Examples
Takes a data.frame
object with columns 'gene','chr','start', and 'end', and creates an SQLite table of the information. Returns a count of the number of genes in the table.
1 | setGeneTable(geneInfo,table='gene',db='snplistdb')
|
geneInfo |
A |
table |
Name of the SQLite table to be created. Default is 'gene'. |
db |
Name of the SQLite database in which to create |
Count of genes included in table
.
1 2 3 4 5 6 | geneInfo <- cbind(c('BRCA1','BRCA2'),c(17,13),c(41196312,32889611),c(41277500,32973805))
colnames(geneInfo) <- c('gene','chr','start','end')
## Not run:
setGeneTable(as.data.frame(geneInfo))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.