{% extends "base.html" %} {% block title %}cryoDRGN dashboard{% endblock %} {% block head %} {% endblock %} {% block content %}
{% set explorer_active = can_images and not command_builder_only %} {% set pair_active = not command_builder_only %} {% set latent3d_active = (zdim >= 3) and (not command_builder_only) %} {% set vol_landscape_3d_active = landscape_full_3d_active and (not command_builder_only) %} {% set trajectory_active = show_trajectory_creator and not command_builder_only %} {% set landscape_card_active = landscape_volpca_active and not command_builder_only %} {# Active interfaces first #} {% if explorer_active %}

Particle explorer

Plot particles by model outputs such as UMAP embeddings of z-latent-space axes.

Use lasso selection to write --ind .pkl files, or load image caches to view images across particle selections.

{% endif %} {% if pair_active %}

Pair-plot generator

Plot particles across a grid of squares, one for each combination of z-latent-space axes.

Choose color covariates from model outputs and dataset attributes as well as different clustering methods to display on the diagonal of the plot grid.

{% endif %} {% if latent3d_active %}

3D visualizer

Interactive 3D scatterplot of three z-latent-space axes, with optional color from model outputs and dataset attributes.

Use the histogram or discrete toggles in the legend beside the plot to filter seen in plot.

{% endif %} {% if vol_landscape_3d_active %}

3D volume landscapes

3D volume landscapes interface preview

3D scatter of vol-PCA embeddings generated by
analyze_landscape_full
for epoch {{ exp_epoch }}.

Use the histogram or discrete toggles in the legend beside the plot to filter particles, and create volume trajectories and animations by selecting individual 3D points.

{% endif %} {% if landscape_card_active %}

Volume sketched landscape explorer

Explore k-means sketch volumes in PCA space from analyze_landscape for epoch {{ exp_epoch }}, select volumes, preview GIFs (cycle or rotate), and save under landscape.N/kmeansK/.

{% endif %}

Command builder

Compose a cryodrgn command you can copy and paste for tools such as abinit and train_vae — required args plus only the options you fill in.

{% if trajectory_active %}

Trajectory creator

Draw a line through the latent scatter to generate volumes along a trajectory — direct interpolation or nearest-neighbor mode — with ChimeraX previews.

{% endif %} {% if not explorer_active %}
Inactive

Particle explorer

Plot dataset particles by model outputs such as z-latent-space dimensions or analysis covariates such as UMAP embeddings.

Use lasso selection to write --ind .pkl files.

{% if command_builder_only %}

Activate this interface by running
cryodrgn dashboard <outdir>.

{% else %}

Activate this interface by loading an output directory with single-particle image previews.

{% endif %}
{% endif %} {% if not pair_active %}
Inactive

Pair-plot generator

Grid of scatters across latent dimensions and embeddings (PCA / UMAP on the diagonal when available).

Activate this interface by running
cryodrgn dashboard <outdir>.

{% endif %} {% if not latent3d_active %}
Inactive

3D visualizer

Interactive 3D scatter of three latent axes, with optional color from analysis columns when you have at least three z dimensions.

{% if command_builder_only %}

Activate this interface by running
cryodrgn dashboard <outdir>.

{% else %}

Activate this interface by loading a run with at least three latent dimensions (current: {{ zdim }}).

{% endif %}
{% endif %} {% if not trajectory_active %}
Inactive

Trajectory creator

Draw a line through the latent scatter to generate volumes along a trajectory — direct interpolation or nearest-neighbor mode — with ChimeraX previews.

{% if command_builder_only %}

Activate this interface by running
cryodrgn dashboard <outdir>.

{% else %}

Activate this interface by running dashboard on a CUDA-enabled machine.

{% endif %}
{% endif %} {% if not vol_landscape_3d_active %}
Inactive

3D volume landscapes

3D scatter in vol_pca_all.pkl space for z.sampled.pkl from cryodrgn analyze_landscape_full, with colour from particle and landscape covariates (scatter only).

{% if command_builder_only %}

Activate this interface by running
cryodrgn dashboard <outdir>
on an outdir for which
cryodrgn analyze_landscape_full
has been run for at least one epoch.

{% else %}

Needs landscape.{{ exp_epoch }}/landscape_full/z.sampled.pkl, ind.sampled.pkl, and vol_pca_all.pkl with at least three PCA columns. Run cryodrgn analyze_landscape_full <outdir> {{ exp_epoch }} or switch epoch in the nav.

{% endif %}
{% endif %} {% if not landscape_card_active %}
Inactive

Volume sketched landscape explorer

Explore k-means sketch volumes in PCA space from analyze_landscape, select volumes, preview GIFs (cycle or rotate), and save under landscape.N/kmeansK/.

{% if command_builder_only %}

Activate this interface by running
cryodrgn dashboard <outdir>
on an outdir for which
cryodrgn analyze_landscape
has been run for at least one epoch.

{% else %}

No complete landscape output for epoch {{ exp_epoch }} (landscape.{{ exp_epoch }} with vol_pca_* and matching kmeans*). Run cryodrgn analyze_landscape <outdir> {{ exp_epoch }} or switch epoch in the nav.

{% endif %}
{% endif %}
{% endblock %}