es2gds {bigmelon} | R Documentation |
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.
es2gds(m, file, qc = TRUE)
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. |
A gds.class object, which points to the newly created .gds file.
Leonard C Schalkwyk, Ayden Saffari, Tyler Gorrie-Stone Who to contact: <tgorri@essex.ac.uk>
#load example dataset data(melon) #convert to gds e <- es2gds(melon,'melon.gds') closefn.gds(e) unlink('melon.gds')