es2gds {bigmelon} | R Documentation

## Coersion method for MethyLumiSet, RGChannelSet or MethylSet to CoreArray Genomic Data Structure (GDS) data file

### Description

The es2gds function takes a MethyLumiSet, RGChannelSet or MethylSet data object and converts it into a CoreArray Genomic Data Structure (GDS) data file (via the gdsfmt package), returning this as a gds.class object for use with bigmelon.

### Usage

    es2gds(m, file, qc = TRUE)

### Arguments

`m` | A MethyLumiSet, RGChannelSet or MethylSet object
`file` | A character string specifying the name of the .gds file to write to.
`qc` | When set to true (default), data from control probes included.

### Value

A gds.class object, which points to the newly created .gds file.

### Author(s)

Leonard C Schalkwyk, Ayden Saffari, Tyler Gorrie-Stone Who to contact: <t.gorrie-stone@qmul.ac.uk>

### See Also

`app2gds`, `iadd`.

### Examples

    #load example dataset
    data(melon)
    #convert to gds
    e <- es2gds(melon,'melon.gds')
    closefn.gds(e)
    unlink('melon.gds')

[Package bigmelon version 1.20.0 Index]