Description Usage Arguments Examples
Build anor database in sqlite
1 2 3 4 5 6 7 8 9 10 |
filename |
Path of raw data, will be read by fread |
sqlite.connect.params |
Connect to sqlite database params [dbname, table.name] |
dat |
Object of data.table, as the input data to build database (optional) |
fread.params |
Other parameters be used in |
new.colnames |
New colnames of table, default is to retain the original |
overwrite |
Ligical indicating wheather overwrite sqlite database |
verbose |
Ligical indicating wheather show the log message |
... |
Other parameters be used in dbWriteTable |
1 2 3 4 5 6 | test.dat <- system.file('extdata', 'demo/sqlite.dat.txt', package = 'anor')
test.sqlite <- sprintf('%s/snp.test.sqlite', tempdir())
x <- sqlite.build(filename = test.dat, list(dbname = test.sqlite,
table.name = 'snp_test'))
test.sqlite <- normalizePath(test.sqlite, '/')
file.remove(test.sqlite)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.