es2gds: Coersion method for MethyLumiSet, RGChannelSet or MethylSet...

View source: R/es2gds.R

es2gdsR 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')

TJGorrie/bigmelon documentation built on June 12, 2024, 6:19 p.m.