write.sgr {ACME} | R Documentation

## 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(agff, raw = TRUE, vals = TRUE, directory = ".")

### Arguments

`agff` | An aGFFCalc object obtained after running do.aGFF.calc
`raw` | Create a file for the raw data?
`vals` | 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.sgr(example.agff)

[Package ACME version 1.4.0 Index]