dba.save {DiffBind} | R Documentation

## save DBA object

### Description

Writes out DBA object

### Usage

    dba.save(DBA, file='DBA', dir='.', pre='dba_', ext='RData', bMinimize=FALSE)

### Arguments

`DBA` | DBA object

`file` | main filename
`dir` | directory to save model in
`pre` | string to pre-pend to filename
`ext` | extensions to use
`bMinimize` | logical indicating saved DBA object should be compressed as much as possible.

### Value

string containing full path and filename.

### Author(s)

Rory Stark

### See Also

`dba.load`

### Examples

    ## Not run:
    data(tamoxifen_peaks)
    savefile <- dba.save(tamoxifen,'tamoxifenPeaks')
    savefile
    tamoxifen <- dba.load('tamoxifenPeaks')
    unlink(savefile)

    ## End(Not run)

[Package DiffBind version 2.10.0 Index]