exportTSS {icetea} | R Documentation

## Export the detected TSS from CapSet object as .bed files

### Description

Export the detected TSS from CapSet object as .bed files

### Usage

    exportTSS(CSobject, outfile_prefix, pergroup = FALSE, merged = TRUE)

    ## S4 method for signature 'CapSet'
    exportTSS(CSobject, outfile_prefix, pergroup = FALSE, merged = TRUE)

### Arguments

`CSobject` | The modified CapSet object after running `detectTSS` function
`outfile_prefix` | Prefix (with path) for output .bed files
`pergroup` | If TRUE, write output per group of samples
`merged` | If TRUE, write merged bed file (union of all groups)

### Value

.bed file(s) containing detected TSS.

### Examples

    # load a previously saved CapSet object
    cs <- exampleCSobject()
    # export tss
    exportTSS(cs, merged = TRUE, outfile_prefix = "testTSS")

[Package icetea version 1.8.0 Index]