write.bedGraph {ACME} | R Documentation

## Write bedGraph format tracks for UCSC genome browser

### Description

Generate bedGraph format files for the UCSC genome browser. This function will write the bedGraph files associated with a aGFFcalc object. There will be either one or two files (default two) representing the raw data and the calculated data (which is output as -log10(val) for visualization purposes for EACH sample).

### Usage

    write.bedGraph(x, raw = TRUE, vals = TRUE, directory = ".")

### Arguments

`x` | An ACMESet or ACMECalcSet object
`raw` | Boolean. Create a file for the raw data?
`vals` | Boolean. Create a file for the calculated p-values?
`directory` | Give a directory for storing the files

### Author(s)

Sean Davis

### Examples

    data(example.agff)
    write.bedGraph(example.agff)

[Package ACME version 2.40.0 Index]