Skip to content
Written for v1.0.0· Last updated: Jan 27, 2026

Color Mapping

Core Feature

This feature is available in all MATISSE Explorer deployments.

Color mapping assigns colors to data points based on feature values, allowing you to visualize patterns and distributions in your spatial transcriptomics data.

Selecting a Color Basis

From the Feature List

  1. Open the Explorer extension
  2. In the Sidebar, browse the Features list
  3. Click on a feature name to apply it as the color mapping
  4. The map updates immediately with the new coloring

Feature Type Tabs

Switch between feature types to find the coloring you need:

TabUse For
CategoricalCell types, clusters, discrete groups
ContinuousGene expression, numeric scores

Categorical Color Mapping

When you select a categorical feature, each category receives a distinct color.

Categorical coloring example

Legend

The legend displays:

  • Category names
  • Assigned colors
  • Optionally, point counts per category

Interacting with Categories

  • Hover over legend items to highlight that category on the map

Customizing Category Colors

You can customize the color assigned to any category to better distinguish groups or match your publication standards.

How to Change a Category Color

  1. Click the color box next to any category in the Detail Panel
  2. A color picker popover appears with three selection methods:
MethodDescription
Preset PaletteChoose from 20 curated colors designed for data visualization
HEX InputEnter a specific HEX color code (e.g., #FF5733)
Native PickerClick the color swatch to open your system's color picker
  1. Select a color - the map updates immediately
  2. Click outside the popover to close it

Identifying Custom Colors

Categories with custom colors display a highlighted border around their color box, making it easy to see which colors have been modified from the default colormap.

Resetting Colors

  • Click the Reset button in the color picker to restore the category to its default colormap color
  • This removes the custom color and re-applies the global categorical colormap

Color Persistence

Custom category colors are saved to your browser's local storage:

  • Colors persist across sessions
  • Colors are specific to each feature (changing colors for "cell_type" doesn't affect "cluster")
  • Clearing browser data resets all custom colors

Continuous Color Mapping

When you select a continuous feature, values are mapped to a color gradient.

Continuous coloring example

Color Gradient

The default gradient maps:

  • Low values → One end of the color scale
  • High values → Other end of the color scale

Legend

The legend displays:

  • Color gradient bar
  • Minimum value
  • Maximum value
  • Current range settings

Adjusting Color Range

For continuous features, you can adjust the min/max range to emphasize specific value ranges.

Why Adjust Range?

  • Highlight differences - Narrow the range to see subtle variations
  • Handle outliers - Exclude extreme values that compress the color scale
  • Focus on relevant values - Set range to biologically meaningful thresholds

Cutoff Adjustment

Use the cutoff slider to exclude low values from the color mapping:

  • Adjust the cutoff percentage (0-50%) to filter out low-expressing cells
  • Useful for highlighting cells with significant expression
  • Applied before the color scale transformation

Colormap Selection

MATISSE Explorer provides separate colormaps for continuous and categorical features.

Colormap selector

Global Colormap Settings

The default colormaps are configured in Settings (accessible via the gear icon in the Activity Bar). Changes to the global colormap affect all visualizations throughout the application.

See Preferences for detailed configuration options.

Available Colormaps

Continuous Colormaps

Sequential - Best for expression data:

ColormapBest For
CoolGeneral expression (default)
ViridisPerceptually uniform
InfernoHigh contrast, dark theme
PlasmaVivid color range
MagmaSubtle gradients
CividisColor blindness friendly
TurboHigh contrast rainbow
Blues/Greens/Reds/PurplesSingle-hue emphasis

Diverging - Best for data with a center point:

ColormapBest For
Red-BlueFold change visualization
Red-Yellow-GreenThree-way comparison
Red-Yellow-BlueTemperature-like scale
Brown-Blue-GreenEarth tones
Pink-Yellow-GreenSoft diverging
SpectralMulti-color diverging

Categorical Colormaps

ColormapBest For
RainbowMany categories (default)
SinebowSmooth color transitions
TurboHigh contrast distinct colors

Choosing a Colormap

Consider:

  • Feature type - Use continuous colormaps for numeric values, categorical for discrete groups
  • Accessibility - Viridis and Cividis work better for color blindness
  • Contrast - Dark background may need different colors than light
  • Consistency - Use global settings for uniform appearance across views

Signature Coloring

Color by computed signature scores instead of individual features.

How to Use

  1. Create a signature with genes of interest

  2. Select the signature for coloring

  3. Choose a combination method:

    MethodUse Case
    MaxHighlight cells expressing any gene highly
    MinFind cells expressing all genes
    SumTotal expression across gene set
    AvgAverage expression level
    UMI CountNormalized expression
  4. The map colors by the computed score

Scale Types

For continuous data, different scale types affect how values map to colors.

ScaleDescriptionUse When
LinearDirect mappingMost cases (default)
LogNatural logarithmWide value ranges (requires min ≥ 0)
Log2Base-2 logarithmWide value ranges (requires min ≥ 0)
Log1plog(x+1) transformationSingle-cell RNA-seq data
SymLogSymmetric logData with zero or negative values
SqrtSquare root mappingModerate compression
PowerSquared mappingEmphasize small values

Changing Scale Type

  1. Look for the scale selector in color settings
  2. Choose the appropriate scale
  3. The coloring updates to reflect the new scale

TIP

Log and Log2 scales are disabled when the minimum value is negative. Use SymLog or Log1p for data that includes zero or negative values.

Tips for Effective Coloring

For Cell Type Analysis

  1. Use categorical coloring with cell type features
  2. Check that colors are distinguishable
  3. Use legend hover to verify identifications

For Gene Expression

  1. Start with linear scale
  2. Adjust range to focus on expressing cells
  3. Try log scale if expression varies widely
  4. Compare multiple genes by switching quickly

For Finding Patterns

  1. Try different colormaps to see patterns
  2. Adjust range to maximize contrast
  3. Combine with spatial/embedding views
  4. Use subsets to reduce noise

Troubleshooting

All Points Same Color

  • Check if feature has variation
  • Adjust the color range
  • Verify data is loaded correctly

Colors Too Similar

  • Try a different colormap
  • Narrow the color range
  • Use log scale for compressed ranges

Legend Not Showing

  • Ensure a feature is selected
  • Check if legend is collapsed or hidden
  • Resize the workspace if needed

MATISSE Explorer Documentation