# Similarity matrix

Similarity matrix task is only available on bulk RNA-seq count matrix data node. It is used to compute the correlation of every sample/or feature vs every other sample/or feature. The result is a matrix with the same set of samples/or features on rows and columns, the value in the matrix is correlation coefficient --r.

Click on **Similarity matrix** task in *Correlation* section on the menu (Figure 1)

<figure><img src="/files/SAx9nLokvB3uvzuKmJTp" alt=""><figcaption><p>Figure 1. Similarity matrix menu</p></figcaption></figure>

When the dialog opens, you will be asked to select whether the calculation samples or features (Figure 2). The are three correlation method options:

Pearson: linear correlation: ![](/files/ekCbZnsxWSGDhDRJrGHy)

Spearman: rank correlation: ![](/files/MlU2uFe5VaX24gnykBiU)

Kendal: rank correlation: ![](/files/kBSohHeHTGfu5ylmkEyP)

<figure><img src="/files/qR9xnss7G2ZnCEZg4fXL" alt=""><figcaption><p>Figure 2. Similarity matrix dialog</p></figcaption></figure>

Click **Finish** to run the task. The output report of this task can be displayed in heatmap and/or table in the data viewer.

## Additional Assistance

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.


---

# Agent Instructions: 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:

```
GET https://help.partek.illumina.com/partek-flow/user-manual/task-menu/correlation/similarity-matrix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
