dba.load {DiffBind} | R Documentation

## load DBA object

### Description

Reads in saved DBA object

### Usage

    dba.load(file='DBA', dir='.', pre='dba_', ext='RData')

### Arguments

`file` | main filename
`dir` | directory in which to save model
`pre` | string to pre-pend to filename
`ext` | file extension to use

### Value

loaded DBA object

### Author(s)

Rory Stark

### See Also

`dba.save`, `DBA.config`.

### Examples

    data(tamoxifen_peaks)
    savefile <- dba.save(tamoxifen,'tamoxifenPeaks')
    savefile
    rm(tamoxifen)
    tamoxifen <- dba.load('tamoxifenPeaks')
    tamoxifen
    unlink(savefile)

[Package DiffBind version 3.2.7 Index]