Learn R Programming

ACME (version 2.28.0)

write.sgr: Write Affy IGB .sgr format files

Description

The affy Integrated Genome Browser (IGB) is a powerful, fast browser for genomic data. The file format is simple (three columns: chromosome, location, and score) to generate. This function will write the sgr 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).

Usage

write.sgr(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.sgr(example.agff)

Run the code above in your browser using DataLab