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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/es2gds.R

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

1
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

1
2
3
4
5
6
#load example dataset
data(melon)
#convert to gds
e <- es2gds(melon,'melon.gds')
closefn.gds(e)
unlink('melon.gds')

bigmelon documentation built on Nov. 8, 2020, 7:40 p.m.