> For the complete documentation index, see [llms.txt](https://help.connected.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.connected.illumina.com/icm/analyses/analysis-functionality/task-menu/statistics/correlation-analysis-1-1.md).

# QTL analysis

QTL stands for Quantitative Trait Locus (or Loci). QTL Analysis is to measure association of a genetic variant (SNV or SNP) with a particular quantitative trait, e.g. phenotype (height, blood pressure), or molecular phenotype (gene expression, protein expression) etc. The input data should be genotype matrix data node and matrix of quantitative traits on the same set of subjects.

Click on a data node contains genotype matrix to choose **Statistics > QTL analysis** on the menu

<div align="left"><figure><img src="/files/IVVfqX1DryKhaWrJA0pb" alt="" width="449"><figcaption></figcaption></figure></div>

It will open a configuration dialog:

<div align="left"><figure><img src="/files/CR6xNPknPhhhBRfoV9HY" alt="" width="354"><figcaption></figcaption></figure></div>

Click on Select data node button to select a node containing quantitative trait matrix, e.g. normalized gene expression data node, normalized protein expression data node etc.

<div align="left"><figure><img src="/files/DSnG4BfTCDDY55VHqA73" alt="" width="563"><figcaption></figcaption></figure></div>

After the protein data node, click **Next** in the dialog

<div align="left"><figure><img src="/files/kdpCG5ZihO8MJoUr4yWX" alt="" width="563"><figcaption></figcaption></figure></div>

The task is based on ANOVA<sup>1</sup> to test association of every variant genotype with every phenotype feature. Genotype information is treated as numeric, in other words, the method is to test additive effect of the variant on the abundance of the phenotype feature. User can also include any other sample level attributes as covariates in the model.

Click **Next** to configure the output threshold:

<div align="left"><figure><img src="/files/qd7HONT0jKQn3EJbYEmy" alt="" width="451"><figcaption></figcaption></figure></div>

Click **Finish** to run the task.

Double click on the QTL analysis output data node to open the report

<div align="left"><figure><img src="/files/lojcvwtgcBgdiLDSXLUj" alt="" width="563"><figcaption></figcaption></figure></div>

In the report table, each row is a variant and phenotype feature pair, any additional fields from the phenotype annotation can be retrieved from the Optional columns on the upper-right corner of the table.

In the QTL results section:

* pvalue: statistical significance of the association, smaller pvalue means more significant
* FDR: false discovery rate based on Benjamini-Hochberg procedure<sup>2</sup>
* statistics: t-statistic
* beta: effect size estimate indicate how much expression changes per allele change. Positive value means alternate allele increases expression, negative value means alternate allele decreases expression, magnitude indicates strength of effect.

### Reference

1. Shabalin, A.A. Matrix eQTL: Ultra fast eQTL analysis via large matrix operations. *Bioinformatics* 28, no. 10 (2012): 1353-1358. <https://www.rdocumentation.org/packages/MatrixEQTL/versions/1.2.0/topics/Matrix\\_eQTL\\_engine>
2. <https://www.jstor.org/stable/2346101>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.connected.illumina.com/icm/analyses/analysis-functionality/task-menu/statistics/correlation-analysis-1-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
