Learn R Programming

ENCODExplorer (version 1.4.3)

prepare_ENCODEdb: Create the RSQLite databse for the tables in ENCODE

Description

Create the RSQLite databse for the tables in ENCODE

Usage

prepare_ENCODEdb(database_filename = "inst/extdata/ENCODEdb.sqlite", types = get_encode_types(), overwrite = FALSE)

Arguments

database_filename
The name of the file to save the database into.
types
The names of the tables to extract from ENCODE rest api.
overwrite
Should tables already present in database be overwrited Default: FALSE.

Value

is a list with selected tables from ENCODE that were used to create the RSQLite database.

Examples

Run this code
prepare_ENCODEdb(database_filename = "platform.sql", types = "platform")
file.remove("platform.sql")
    ## Not run: 
#         prepare_ENCODEdb("ENCODEdb.sqlite")
#     ## End(Not run)
    

Run the code above in your browser using DataLab