gtxcache: Speed up search of genes and analyses

Description Usage Arguments

View source: R/cache.R

Description

Create a in-memory SQLite db storing analyses metadata and genes coordinates, to speed up searches

Usage

1
2
3
gtxcache(cache_analyses = TRUE, cache_genes = TRUE,
  disconnect = FALSE, dbc_from = getOption("gtx.dbConnection", NULL),
  dbc_to = getOption("gtx.dbConnection_cache", NULL))

Arguments

cache_genes

Cache Gene coordinates

disconnect

Disconnects the db. E.g. run gtxcache(disconnect=T) to free up memory

dbc_from

DB to be cached (e.g. gwases)

dbc_to

If there is already a gtxcache database available, use this instead of creating a new one

cache_analysis

Cache the Analyses table


tobyjohnson/gtx documentation built on Aug. 30, 2019, 8:07 p.m.