# 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.
