> For the complete documentation index, see [llms.txt](https://help.bioinsight.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.bioinsight.illumina.com/partek/partek-flow/user-manual/task-menu/correlation/similarity-matrix.md).

# 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="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-efc4d3bfdd1ae8f1437c834a76ca6038ca186ca2%2Fimage%20(234).png?alt=media" 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: ![](https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-817b17d1057d994cfb2e37d7c4efd867da7dbf3e%2Fimage%20\(229\).png?alt=media)

Spearman: rank correlation: ![](https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-d30dba60d31ec3c0a4380b25140767038aed3417%2Fimage%20\(230\).png?alt=media)

Kendal: rank correlation: ![](https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-23674e182e91a067055205fdc33995e7a563a280%2Fimage%20\(3\)%20\(1\)%20\(1\)%20\(1\).png?alt=media)

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-9e17e248ce14a08080ab290ad08380541df56a2e%2Fimage%20(4)%20(1)%20(1)%20(1).png?alt=media" 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
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://help.bioinsight.illumina.com/partek/partek-flow/user-manual/task-menu/correlation/similarity-matrix.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.
