> For the complete documentation index, see [llms.txt](https://knowledge.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.illumina.com/microarray/general/microarray-general-reference_material-list/000006797.md).

# How to back-calculate the differential p-value from Diffscore with Genomestudio Methylation Module

The GenomeStudio Methylation module generates a value called a DiffScore, which reports the likelihood that an average beta for a given group is significantly different from the beta value of a reference group.

**How to back-calculate p-value of the differential (differential p-value) from Diffscore from the Genomestudio Methylation Module?**

When a Differential Analysis is run in GenomeStudio Methylation Module, the software provides a **DiffScore** for each group's beta values. The DiffScore is a log transformation of the p-value of the differential, or differential p-value, which in turn reflects the likelihood that a given group's β value for a specific CpG assay is within error of a reference group's β value for that same CpG assay. However, the software does not present the actual p-value from which the DiffScore is derived, ie, there is not an option to display the differential p-value in the software. The differential p-value can be back calculated from a given Diffscore, using the formula for Diffscore.

![](https://761066130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGM9W2DuBTgEXv1ClCm8H%2Fuploads%2Fgit-blob-df6d638dfed3503f5bf16c44fba925bd04099307%2Fimage1.png?alt=media)

**Figure 1.** Diffscore formula

In the formula:

* **10** is a multiplier to increase the dimension of the Diffscore.
* **sgn (β(conditional) - β(reference))** yields a positive or a negative sign to indicate whether the β value of the experimental group is higher or lower than the reference group.
* **p** is the differential p-value.

The following formula derives p from the Diffscore using the absolute value of the Diffscore, because it does not matter whether the experimental or reference β is higher or lower:

|Diffscore| = -10\*log10(p)

-(|Diffscore|/10)= log10(p)

**p=10-(|diffscore|/10)**

So, the differential p-value is 10 to the power of the negative of the quantity of absolute value of the Diffscore divided by 10.

For example, when entering the following Diffscores into the formula, the corresponding Diffscores result.

* Diffscore = 13 Differential p-value = 0.05
* Diffscore = 20 Differential p-value = 0.01
* Diffscore = 30 Differential p-value = 0.001

**Reference:**

[GenomeStudio Methylation Module v1.8 User Guide](https://emea.support.illumina.com/downloads/genomestudio-2011-1-user-guides.html), see page 51 for the Diffscore formula and for definition of p-value.

\
\
\ <br>

|                                                                                                                                                                                                                                                                                                                                                                   |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| *For any feedback or questions regarding this article (Illumina Knowledge Article #6797), contact Illumina Technical Support* [*techsupport@illumina.com*](mailto:techsupport@illumina.com?subject=Question%2FFeedback%20Regarding%20Illumina%20Knowledge%20Article%20#000006797%20-%20Microarray%20\&body=Dear%20Illumina%20Technical%20Support,%0D%0A%0D%0A)*.* |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledge.illumina.com/microarray/general/microarray-general-reference_material-list/000006797.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
