gds2mlumi: Convert Genomic Data Structure file to Methylumiset or...

View source: R/gds2mlumi.R

gds2mlumiR Documentation

Convert Genomic Data Structure file to Methylumiset or Methylset object.

Description

Convert a Genomic Data Structure object back into a methylumi object, with subsetting features.

Usage

gds2mlumi(gds, i, j)
gds2mset(gds, i, j, anno)

Arguments

gds

a gds object

i

Index of rows

j

Index of Columns

anno

If NULL, function will attempt to guess the annotation to be used. Otherwise can be specified with either "27k", "450k", "epic" or "unknown".

Value

A methylumi object

Author(s)

Tyler Gorrie-Stone Who to contact: <t.gorrie-stone@qmul.ac.uk>

Examples

data(melon)
e <- es2gds(melon, "melon.gds")
gds2mlumi(e)
closefn.gds(e)
unlink("melon.gds")

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