getsetDbPath: Get and set sitadela default database path

getsetDbPathR Documentation

Get and set sitadela default database path

Description

The setDbPath and getDbPath functions are used to set and get the path to a sitadela annotation database. If not explicitly provided, it defaults to file.path(system.file(package="sitadela"),"annotation.sqlite"). Essentially, the setter function adds an option to the R environment pointing to the desired path.

Usage

    setDbPath(db = NULL)
    getDbPath()

Arguments

db

path to a valid SQLite database file.

Value

This function does not have a return value.

Author(s)

Panagiotis Moulos

Examples

myPath <- "/home/me/test.sqlite"
setDbPath(myPath)
getDbPath()

pmoulos/sitadela documentation built on March 19, 2024, 2:02 a.m.