# Creating Bedgraph/BigWig tracks of TSSs

`exportTSStoBedgraph.Rd`

Creates bedGraph/BigWig files of TSSs that can be visualized in the UCSC Genome Browser and Integrative Genomics Viewer (IGV).

    exportTSStoBedgraph(object, data = "processed", format = "bedGraph",oneFile = FALSE)

    # S4 method for TSSr
    exportTSStoBedgraph(
      object,
      data = "processed",
      format = "bedGraph",
      oneFile = FALSE
    )

## Arguments

object | A TSSr object.
data | Specify which data will be exported: "raw" or "processed". Default is "processed".
format | The format of output files: "bedGraph" or "BigWig". Default is "bedGraph".
oneFile | Logical, specify whether to export individual TSS tracks into the one bedGraph file (TRUE) of in separate bedGraph files (FALSE).

## Examples

    # \donttest{
    exportTSStoBedgraph(exampleTSSr, data = "processed", format = "bedGraph")#> Exporting TSS to bedgraph...#> Exporting TSS to bedgraph...# }