Description Usage Arguments Value Author(s) See Also Examples
View source: R/methyAnalysis.R
Coerce objects of MethyLumiM-class
to MethyGenoSet
1 | 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
1 2 3 4 5 6 7 8 | 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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.