# The cluster viewer

## Using the viewer

The Cluster View page looks similar to the [Interactive Collection View](/pathogenwatch/how-to-use-pathogenwatch/collections.md), but it has a unique URL that is specific to that genome, and the tree is replaced by a cluster panel displaying all genomes in the genome's cluster that are under the specified distance threshold. The distance threshold can be adjusted, triggering the view to reload with the adjusted set of resulting genomes.

{% hint style="info" %}
The cluster page is accessed from the Genome Report for a genome, and shows all linked genomes according to the selected cluster threshold.
{% endhint %}

### Accessing the report

Go to a genome report and scroll down to the clustering section. If the clustering isn't visible, generate it. Once it's visible, click "View Cluster".

<figure><img src="/files/MekedqmXnxSN5zB4TZfE" alt=""><figcaption></figcaption></figure>

### Interacting with the report

The cluster view is essentially identical to the collection view, but with the tree panel swapped for a cluster viewer panel. At the bottom of the cluster viewer panel is a line with nodes indicating cluster thresholds where the membership changes. Mousing over the nodes shows the distance threshold and number of genomes. Clicking on the nodes regenerates the cluster view at the new threshold.

Below the cluster panel are the standard metadata and analysis results tables. Selecting genomes in the one panel will also select them in the others.

### Saving the report

Clusters can be saved as collections directly by using the 💾 icon in the top right of the screen. The icon is disabled until at least one genome has been selected. Note that this requires being logged in.&#x20;


---

# 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://cgps.gitbook.io/pathogenwatch/how-to-use-pathogenwatch/genomic-neighbourhood-search/the-cluster-viewer.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.
