export: Export deconvolution results to text files

Description Usage Arguments Details Author(s) See Also Examples

Description

Export deconvolution results to text files in TXT, BED, or GFF file formats.

Usage

1
2
3
export(object, ...)
## S4 method for signature 'DpeakFit'
export( object, type=NA, filename=NA, ... )

Arguments

object

Object of class DpeakFit, deconvolution model fits obtained using the method dpeakFit.

type

Format of the exported file. Possible values are "txt", "bed", and "gff". See Details.

filename

Name of the exported file.

...

Other parameters to be passed through to generic export.

Details

Columns of TXT file format (type="txt") include chromosome, binding site, relative binding strength in each peak region, and the peak region that each binding event belongs to. type="bed" and type="gff" export deconvolution results in standard BED and GFF file formats, respectively, where score is the relative binding strength multiplied by 1000. The feature of GFF file and the name of BED file are the peak region that each binding event belongs to.

Author(s)

Dongjun Chung

See Also

dpeakFit, DpeakFit.

Examples

1
2
3
4
5
6
7
## Not run: 
fit <- dpeakFit( data )
export( fit, type="txt", filename="result.txt" )
export( fit, type="bed", filename="result.bed" )
export( fit, type="gff", filename="result.gff" )

## End(Not run)

dongjunchung/dpeak documentation built on March 1, 2020, 3:44 a.m.