export.DMRInfo {methyAnalysis} | R Documentation

## Output the DMR (Differentially Methylated Region) data information

### Description

Output the DMR (Differentially Methylated Region) data information

### Usage

    export.DMRInfo(DMRInfo.ann, methyData = NULL, savePrefix = "")

### Arguments

`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.

### Details

This function basically save the annotated DMR information as text .csv files.

### Value

results files.

### Author(s)

Pan Du

### See Also

`annotateDMRInfo`

### Examples

    	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')
    	}

[Package methyAnalysis version 1.22.0 Index]