Description Usage Arguments Value Examples
View source: R/ImmPortSqlite.R
The function buildSqliteDb
builds a sqlite db of ImmPort study data. It takes in as input the
study files in the TSV (Tab) format.
1 | buildNewSqliteDb(data_dir, db_dir)
|
data_dir |
File directory where the study TSV files are stored |
db_dir |
File directory where the sqlite database will be stored |
The SQLite database name
1 2 3 4 5 6 7 | studies_dir <- system.file("extdata", "ImmPortStudies", package = "RImmPort")
# set tab_dir to the folder where the zip files are located
tab_dir <- file.path(studies_dir, "Tab")
# set db_dir to the folder where the database file 'ImmPort.sqlite' should be stored
db_dir <- file.path(studies_dir, "Db")
# build a new ImmPort SQLite database with the data in the downloaded zip files
# dbname <- buildNewSqliteDb(tab_dir, db_dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.