Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/methyAnalysis.R
Output the DMR (Differentially Methylated Region) data information
1 | export.DMRInfo(DMRInfo.ann, methyData = NULL, savePrefix = "")
|
DMRInfo.ann |
The annotated DMR information outputted by annotateDMRInfo. |
methyData |
Methylation data information in MethyGenoSet or MethyLumiM class |
savePrefix |
The prefix added to the output file names. |
This function basically save the annotated DMR information as text .csv files.
results files.
Pan Du
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(exampleMethyGenoSet)
sampleType <- colData(exampleMethyGenoSet)$SampleType
## Do differential test
allResult <- detectDMR.slideWin(exampleMethyGenoSet, sampleType=sampleType, testMethod='ttest')
## Identify the DMR (Differentially Methylated Region) by setting proper parameters.
## Here we just use default ones
allDMRInfo <- identifySigDMR(allResult)
## Annotate significant DMR info
if (require(TxDb.Hsapiens.UCSC.hg19.knownGene)) {
DMRInfo.ann <- annotateDMRInfo(allDMRInfo, 'TxDb.Hsapiens.UCSC.hg19.knownGene')
export.DMRInfo(DMRInfo.ann, savePrefix='testExample')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.