getDBPath {methylKit} | R Documentation

## Get path to database of the methylDB objects

### Description

The function returns the path to the flat file database that stores the data of the `methylRawDB`, `methylRawListDB`, `methylBaseDB` or `methylDiffDB` objects.

### Usage

    getDBPath(x)

    ## S4 method for signature 'methylRawListDB'
    getDBPath(x)

    ## S4 method for signature 'methylBaseDB'
    getDBPath(x)

    ## S4 method for signature 'methylRawDB'
    getDBPath(x)

    ## S4 method for signature 'methylDiffDB'
    getDBPath(x)

### Arguments

`x` | an `methylBaseDB`,`methylRawDB`, `methylRawListDB` or `methylDiffDB` object

### Examples

    data(methylKit)

    methylBaseDB.obj <- unite(methylRawList.obj,save.db=TRUE,dbdir="methylDB")

    #The path to the database is returned
    getDBPath(methylBaseDB.obj)

    # remove Database again
    rm(methylBaseDB.obj)
    unlink("methylDB",recursive=TRUE)

[Package methylKit version 1.18.0 Index]