Learn R Programming

ACME (version 2.28.0)

write.bedGraph: 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

Examples

Run this code
data(example.agff)
write.bedGraph(example.agff)

Run the code above in your browser using DataLab