exportTSStoBedgraph: Creating Bedgraph/BigWig tracks of TSSs

exportTSStoBedgraphR Documentation

Creating Bedgraph/BigWig tracks of TSSs

Description

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

Usage

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

## S4 method for signature '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).

Value

Bedgraph/BigWig tracks of TSSs

Examples

data(exampleTSSr)
#exportTSStoBedgraph(exampleTSSr, data = "processed", format = "bedGraph")

Linlab-slu/TSSr documentation built on Oct. 23, 2024, 8:31 p.m.