# Dot Plot

Dot plot is special 2D scatterplot with X-axis is a categorical variable and Y-axis is a numerical variable, typically used to visualize gene/protein expression (RNA-seq or scRNA-seq), with dots representing observations (samples or cells), X-axis showing treatment groups and y-axis showing expression level on an appropriate scale.

In differential analysis report data node, select the **dot plot** icon (<img src="/files/9CLS09p2FI8ldG1EZxob" alt="" data-size="line">) in the *View* column to invoke the plot in data viewer. The plot will be displayed in a new browser tab.

<figure><img src="/files/5FQq8mSDrCroaFhbrawo" alt=""><figcaption></figcaption></figure>

The chart title is based on the feature (e.g. gene or protein) that the plot was invoked on. The y-axis is scaled automatically, based on the range of the data, and the units correspond to the input node. Dots represent observations (e.g. samples or cells). Hovering the cursor over a sample invokes a popup balloon message shows sample ID and the respective expression value.

The order of the group on the X-axis by default is based on the order in the attribute management page in the Data tab. However, you can manually click on the name of the group on X-axis, drag and drop to change the order

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

When you have a lot of observations to display, you can choose to add box-whiskers and/or violin plot on the graph, by turning on/off the options to display the different type of plots in **Style** card from the configuration panel.

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

You can have multiple categorical attributes on X-axis in the **Axes** configuration card. Click on the attribute to drag up and down to change the order of the attributes displayed on the X-axis.

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

Click the **Export image** button to save a PNG, SVG, or PDF image to your computer.

Click the **To notebook** button to send the image to a page in the Notebook.


---

# 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.connected.illumina.com/icm/analyses/analysis-functionality/data-viewer/dot-plot.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.
