buildNewSqliteDb {RImmPort} | R Documentation |
The function buildSqliteDb
builds a sqlite db of ImmPort study data. It takes in as input the
study files in the TSV (Tab) format.
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
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)