Learn R Programming

GWASinspector (version 1.4.3)

sqlite.db.check: Check the data in the reference database

Description

This function displays the summary of the database, including how many tables are in the database file, number of data rows for each data table and the first row of each table.

Usage

sqlite.db.check(inspector)

Arguments

inspector

An instance of '>Inspector class. Check setup.inspector for more details.

Value

This function returns a data table including the summary of the specified database. This is necessary to check the consistency and validity of an unknown or new database file.

Details

This function only checks databases in sqlite format.

Examples

Run this code
# NOT RUN {
config.file <- get.config(tempdir())
inspector <- setup.inspector(config.file , validate = FALSE)
# use sample database embedded in the package
inspector@supplementaryFiles$allele_ref_std <- system.file("extdata",
                                                            "sample_db.sqlite",
                                                             package = "GWASinspector")
sqlite.db.check(inspector)

# }

Run the code above in your browser using DataLab