# Detect differential methylation

The Detect Differential Methylation task enables users to perform differential test on methylation array data and Illumina 5-base DNA Prep data. The task converts Beta-values to M-values and uses these to perform [ANOVA differential expression analysis](https://help.multiomics.illumina.com/icm/analyses/analysis-functionality/task-menu/statistics/differential-analysis/anova-limma-trend-limma-voom).

## Running Detect Differential Methylation

* Click to select a methylation data node with beta values.
  * For methylation array: select **Methylation beta** data node.
  * For Illumina 5-base DNA Prep: select **5-base methylation** data node or **Get Regional Methylation** data node.
* Select **Methylation analysis** from context-sensitive menu, select **Detect Differential Methylation**.
* Select a **factor** for analysis, click **Next**.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-9f93db5277bf260a9eda7d58be7f9c32a1a946cb%2Fdetect-diff-meth-select-factor.png?alt=media" alt=""><figcaption></figcaption></figure>

* Define and **add comparison**, then click **Finish**.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-355bda5a859bbde08c58cb0f57df662d763c5a9c%2Fimage%20(137)%20(1).png?alt=media" alt="" width="407"><figcaption></figcaption></figure>

## Detect Differential Methylation output

When completed, double-click on the output data node to open task report. Each row in the report table is a probe or methylation feature being tested. The table is sorted by p-values by default. Significance such as P-value and FDR step up are computed from the M-values. The LSMeans of the groups and the Difference are computed from the Beta-values.

Click the **Optional columns** button to add more column data. For array data, annotation from the Illumina manifest file can be selected from the Optional columns.

Click **Volcano icon** next to the comparison name, and icons buttons in **View** columns to open visualizations and additional details on the results.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-43c351c6292474235afa91d80a6c51273bc4174f%2Fdetect-diff-meth-report%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

The table can be exported by clicking **Download** button on the top left corner of the table.
