MethyLumiM2GenoSet {methyAnalysis} | R Documentation |
Coerce objects of MethyLumiM-class
to MethyGenoSet
MethyLumiM2GenoSet(methyLumiM, lib = "FDb.InfiniumMethylation.hg19", bigMatrix=FALSE, dir.bigMatrix='.', savePrefix.bigMatrix)
methyLumiM |
a MethyLumiM object |
lib |
lib is a annotation library |
bigMatrix |
whether to save the data as BigMatrix (designed for very large dataset) |
dir.bigMatrix |
the parent directory to save the BigMatrix data files |
savePrefix.bigMatrix |
the folder name prefix of the directory to save the BigMatrix data files. The fold name will be like this: paste(savePrefix.bigMatrix, '_bigmat', sep=”) |
a MethyGenoSet object
Pan Du
if (require(FDb.InfiniumMethylation.hg19)) { data(exampleMethyGenoSet) ## set as MethyLumiM object methyLumiM <- as(exampleMethyGenoSet, 'MethyLumiM') ## set back as MethyGenoSet object methyGenoSet <- MethyLumiM2GenoSet(methyLumiM, lib = "FDb.InfiniumMethylation.hg19") class(methyGenoSet) }