Support homeXenium ExplorerTutorials
Navigating Xenium Explorer

Navigating Xenium Explorer

Open Xenium Explorer by double-clicking the application icon.

There are a few options to open datasets in Xenium Explorer (see Xenium Explorer Input Files). You can drag and drop or click Open New File to select the .xenium file. There is also a dropdown menu to either Select file (same as Open New File) or Open file from path. If you open a file from path, enter the path to the location where the .xenium file is stored on your computer or network drive.

The screenshots in this tutorial come from 10x public datasets. Click the links to download and explore these human pancreatic cancer and human lung cancer datasets.

The Xenium Onboard Analysis output files must be in the same directory path as this file (unless you have modified the file paths).

Once you have opened a dataset, the Xenium Explorer home page displays options to open or clear recent files. Metadata are shown on the recent file tiles. The ten most recent datasets and any saved views will be displayed.

When you close a dataset, the view settings will be saved automatically as an unnamed saved view (similar to explicitly saving current views. If you open a dataset from the Recent Files menu, Xenium Explorer will restore your last view. However, if you open the same dataset from outside the Recent Files menu (drag and drop, double-click .xenium file, or Open New File), Xenium Explorer will open with the default initial view (grayscale DAPI image) and the unnamed saved view will be lost. The best way to ensure you can reopen the view state again later is to save your current view before closing Xenium Explorer.

After the dataset loads, you should see an image of the nuclei-stained (DAPI) sample. The following image shows the key components of the Xenium Explorer interface. In this Getting Started tutorial, we provide a brief overview of the image, cell, transcript, and lasso features. The Save Current View and Share features are described in the Saving and Sharing Results tutorial.

Click the 10x Genomics icon in the top left-hand corner to return to the home screen, open a new dataset, or find support documentation.

The Xenium Explorer interface settings are controlled in the Settings menu and with keyboard shortcuts. The Settings menu allows you to show or hide transcript and cell tooltips, image scale axes, the user interface (UI) itself, and the image navigator in the bottom left-hand corner.

In Xenium Explorer v3.0, click the button in the upper right corner to export screenshots of image, cell, and transcript information displayed in the Xenium Explorer viewport at their displayed resolution. Screenshots are saved in PNG format.

Keyboard shortcuts:

KeyAlternativeDescription
TabSettings buttonShow/hide UI
= (equals key)Scroll with mouseZoom in
- (hyphen key)Scroll with mouseZoom out
LLasso buttonDraw a freehand shape with lasso selection tool
RLasso buttonDraw a rectangle with selection tool
PPan buttonMove the image up and down, or left and right

The Sample Information pop-up window displays metadata about the sample run, analysis, and panel. The Run and Panel sections show information entered on the Xenium Analyzer instrument during the run set up; they are stored in the experiment.xenium manifest file. From the Analysis section, you can open the analysis summary HTML file in another Xenium Explorer window.

This window also displays the "Panel Design ID" for Xenium Gene Expression panels and if used, Xenium Ranger metadata.

The Images, Cells, and Transcripts menus allow you to layer multiple pieces of information in the explorer viewing area.

The Images menu shows settings to adjust the 3D image stack of the nuclei-stained (DAPI) cells and autofocus stain image(s). The Image layer is automatically checked when Xenium Explorer is opened. Click the link below to learn more.

Interact with images

The Cells menu displays nuclei and cell borders based on cell segmentation results. Check the box next to the layer name to view. Click the link below to learn more.

The Transcript menu displays transcript count data. Check the box next to the layer name to view. Click the link below to learn more.

There are two lasso shape options - rectangle and freehand lasso. Both are useful for selecting Regions of Interest (ROIs). For example, the freehand lasso tool is useful for counting genes per cell in specific tissue structures. Click the link below to learn how to make multiple selections and export information.

Choose the shape (keyboard shortcuts: L or R) and then use your mouse to draw the shape (release mouse to complete selection shape). If genes are checked in the Transcripts menu, the selection box displays transcript and cell information for the selected area (transcripts do not need to be displayed to appear in the selection box). The selection box displays the cell clusters that are checked in the Cells menu (cells may be viewed as filled, outlined, or both).

Transcript counts are not shown for very large selections for optimal performance. If your selection reaches the limit, you will see the message "Decrease the selection size to see transcript counts.

Here's an example using the lasso to select a region with CFTR- tumor cells (see pancreatic cancer explorer page):

The Go to location button enables you to jump to a specific X-Y coordinate location in the image, open a saved view, or transfer a permalink view from another session. X-Y coordinate values are shown in the lower left-hand corner of the viewing area in µm. The X-Y format must be comma-separated (i.e., 8609, 272). Lists of coordinates from selected Regions of Interest or cells should be pasted with the Lasso button’s Paste coordinates feature (see Multiple Selections tutorial).

Editing the manifest file to visualize custom analyses

The experiment.xenium manifest file contains metadata read in by Xenium Explorer about the experiment, including the paths to the input files listed above. The file names in the images and xenium_explorer_files sections use the default output file names from Xenium Onboard Analysis.

In order to view and interact with custom analysis results in Xenium Explorer, you can edit these sections of the manifest file. Because the experiment.xenium file is a text file in JSON format, changes can be made in any text editor. The file paths can be absolute or relative. However, relative paths should not use a tilde (~) for home directory path expansion.

For extremely large Xenium datasets with > 200 million unique cell by transcript features (sparse matrix), Xenium Explorer v3.0 does not support certain transcript and cell functions due to performance limits:

  • For cells in selected regions of interest, transcript information is not available.
  • For individually selected cells, transcript and cell statistic information are derived from cell polygons instead of the segmentation mask.
  • Cell tooltips will not display transcript counts
  • Cells cannot be viewed by transcript density.

This example Unix command can be used to check the size of your dataset's cell-feature matrix Zarr file (be sure to edit the path to your matrix file):

# Extract matrix file to pipe # Extract shape of the matrix unzip -p cell_feature_matrix.zarr.zip cell_features/data/.zarray | grep shape --after=1 # Example output: this cell-feature matrix has ~158 million cell x transcript features # "shape": [ # 157829388