Skip to content
Written for v1.5.0· Last updated: Oct 15, 2026

Preferences ​

Core Feature

This feature is available in all Portrai Explorer deployments.

Configure application settings, such as the theme, the app color, the GPU backend and the colorscales, and view version information.

Accessing Settings ​

Click the Settings icon (gear) at the bottom of the Activity Bar.

Settings icon location

The Settings dialog displays with a search bar and organized sections.

TIP

All settings are stored locally in your browser and persist across sessions.

Use the search bar at the top of the Settings dialog to quickly find settings:

  1. Type a keyword (e.g., "theme", "color")
  2. Settings are filtered in real-time
  3. Only matching items are displayed

Settings Sections ​

Appearance ​

Configure visual preferences for the application.

Theme ​

Choose your preferred visual theme:

ThemeDescription
SystemMatches your operating system setting
LightBright background, dark text
DarkDark background, light text

Theme selector

Theme changes apply immediately without requiring a page refresh.

App Color ​

Customize the application accent color used for buttons, highlights, and interactive elements throughout the interface.

  • Select from a range of color options (e.g., Blue, Purple, Green, Red, etc.)
  • Each option shows a preview color dot
  • Default: Portrai Blue
  • Changes apply immediately to the entire application

Performance ​

GPU Backend ​

Choose which GPU interface filters and draws the data points:

OptionDescription
WebGPU (default)Modern GPU interface, used whenever the browser supports it
WebGL2Older GPU interface, supported by all browsers that run the viewer
  • The line below the selector shows the backend that is Active in the current page
  • The backend is chosen when the page loads, so a change applies after a reload. Click Reload now when the hint appears
  • If the browser does not support WebGPU, the WebGPU option is disabled and WebGL2 is used
  • If WebGPU fails to start, WebGL2 is used automatically and the reason is shown below the selector

TIP

Keep the default unless points render incorrectly or the viewer is slow on your machine. Switching to WebGL2 is a quick way to check whether a problem is specific to WebGPU.

Colorscale ​

Configure default colormaps used throughout the application for data visualization.

Colormap settings

Continuous Colormap ​

Select the default colormap for continuous data (gene expression, numeric values).

CategoryColormaps
SequentialCool, Viridis, Inferno, Plasma, Magma, Cividis, Turbo, Blues, Greens, Reds, Purples
DivergingRed-Blue, Red-Yellow-Green, Red-Yellow-Blue, Brown-Blue-Green, Pink-Yellow-Green, Spectral

Choosing a colormap:

  • Sequential colormaps are best for expression data where higher values are more important
  • Diverging colormaps are ideal for data with a meaningful center point, like fold changes

Categorical Palette ​

Select the default palette for categorical data (cell types, clusters).

ColormapDescription
RainbowFull spectrum of distinct colors
SinebowSmoother rainbow with perceptual balance
TurboVibrant colors with high contrast

How Colormaps Are Applied ​

Global colormap settings affect:

  • Map Viewer - Point coloring in spatial view
  • Scatter Plot - Point coloring in embedding views
  • Feature Detail Panel - Category color previews
  • Signature Detail Panel - Score visualizations

TIP

Individual views may override the global colormap if specific settings are available. The global setting serves as the default.

About ​

View application version information.

Version info

Version Display ​

FieldDescription
Core VersionVersion of the core library
App VersionApplication version with Git commit hash (if available)

Copying Version Info ​

Click the Copy button next to each version field to copy to clipboard. Include this information when reporting bugs or requesting support.

Settings Storage ​

Local Storage ​

The following settings are stored in your browser's local storage:

SettingDescription
ThemeLight, Dark, or System preference
App ColorApplication accent color preference
GPU BackendWebGPU or WebGL2 preference
Continuous ColormapDefault colormap for continuous features
Categorical PaletteDefault palette for categorical features
Custom Category ColorsPer-feature category color customizations

All settings:

  • No account required
  • Persist on your device
  • Are reset when clearing browser data

Per-Browser ​

  • Settings are specific to each browser
  • Different devices have separate settings
  • No automatic sync between browsers

Troubleshooting ​

Settings Not Saving ​

  • Ensure browser allows local storage
  • Check privacy/cookie settings
  • Disable strict privacy modes temporarily

Theme Not Applying ​

  • Try selecting a specific theme instead of System
  • Check your OS dark mode settings
  • Refresh the page if needed

Portrai Explorer Documentation