Omics-OSDocs
Agent Packages

Visualization

Single-cell and omics visualization agent

lobster-visualization
FreeBeginner

Publication-quality visualizations: UMAP, violin plots, heatmaps, and volcano plots

Input
AnnDataDE ResultsCluster LabelsGene Lists
Output
UMAP PlotsViolin PlotsHeatmapsVolcano PlotsDot Plots
Agents (1)
└── visualization_expert — Publication-quality plotting and figure generation
pip install lobster-visualization

Agents

visualization_expert

Specialized agent for creating visualizations from analyzed omics data.

Capabilities:

  • UMAP/t-SNE plots with gene overlays
  • Violin plots and dot plots
  • Heatmaps with clustering
  • Volcano plots and MA plots
  • Custom plot styling

Supported Plot Types

Plot TypeUse CaseBest For
UMAPDimensionality reductionCell clustering, embeddings
t-SNEDimensionality reductionSmall datasets, local structure
ViolinGene expression distributionComparing expression across groups
Dot plotGene markers across clustersMarker gene visualization
HeatmapExpression patternsPathway/gene set analysis
VolcanoDifferential expressionIdentifying significant genes
MA plotFold change vs abundanceQuality check for DE analysis

Services

lobster-visualization includes visualization services bundled with the package:

ServicePurpose
SingleCellVisualizationServiceUMAP, t-SNE, violin plots, dot plots, heatmaps

The service is installed automatically with the agent package.

Example Workflows

UMAP with Gene Overlay

User: Create a UMAP colored by cell type with CD3E expression overlay

[visualization_expert]
- Generates UMAP with categorical coloring
- Overlays CD3E expression as continuous color
- Saves to plots/
- Reports how many files were saved and up to three of their names

Marker Gene Dot Plot

User: Show me the expression of marker genes across clusters

[visualization_expert]
- Retrieves marker genes from analysis state
- Creates dot plot with cluster on x-axis
- Size = percent expressing, color = mean expression
- Saves publication-ready figure

Volcano Plot for DE Results

User: Make a volcano plot from my differential expression results

[visualization_expert]
- Loads DE results from transcriptomics analysis
- Plots log2 fold change vs -log10 p-value
- Highlights significant genes (|FC| > 1, padj < 0.05)
- Labels top significant genes

Dependencies

lobster-visualization requires visualization libraries:

LibraryPurpose
matplotlibCore plotting library
seabornStatistical visualizations
scanpySingle-cell plotting integration
plotlyInteractive plots

These are installed automatically with the package.

Configuration

# .lobster_workspace/config.toml
enabled = ["visualization_expert"]

Plot Storage

Visualization tools save plots to the workspace plots/ folder as interactive HTML files, plus a PNG when image export succeeds and is not skipped. Saving can be skipped or can fail:

.lobster_workspace/plots/
|-- plot_1_UMAP_cell_type.html
|-- plot_1_UMAP_cell_type.png
|-- plot_2_Volcano_treated_vs_control.html
|-- plot_2_Volcano_treated_vs_control.png

Since Lobster AI 1.1.433, the create_interactive_plot tool reports the workspace-relative path of each file it saved, or the reason a save was skipped or failed. Other visualization tools report a count of saved files and may not include these details. PNG export is skipped when a plot's recorded cell count exceeds 50,000, and it fails when the image export engine is not available; a PNG skip or failure does not remove an HTML file that was saved. Saved plots also appear in the workspace file listing that agents see during hand-offs.

Plot Customization

visualization_expert supports plot customization through natural language:

User: Make the UMAP larger with a white background and save as PDF

[visualization_expert adjusts]
- Figure size: 12x10 inches
- Background: white
- Format: PDF vector graphics

Customizable Parameters

ParameterOptionsDefault
Figure sizeAny dimensions8x6 inches
DPI72-600150
FormatPNG, PDF, SVGPNG
Color paletteAny matplotlib/seabornDefault
Font sizeAny size12pt
BackgroundWhite, transparentWhite

Integration with Analysis Agents

visualization_expert receives data from analysis agents:

transcriptomics_expert
  -> Performs clustering
  -> Stores results in state
  -> Calls visualization_expert
    -> Reads cluster assignments
    -> Generates UMAP plot

On this page