Plot Types¶
MPP can generate 15 types of plots, all accessible through both the CLI (-p <plot>) and
the Python API (mpp.plot.<method>(out)).
Dendrogram¶
What it shows: The lumping tree with macrostate boundaries and a contact-fraction colorbar. A second panel shows the macrostate assignment as a color-coded grid.
CLI:
API:
Implied Timescales¶
What it shows: Implied timescales of the microstate model and the macrostate model across multiple lag times.
CLI:
API:
Sankey Diagram¶
What it shows: Microstate flow between the macrostates of this lumping and the
reference (T none) lumping.
CLI:
API:
Contact Representation¶
What it shows: Mean contact distances (or other features) per macrostate, using a cluster file to label contacts.
Requires: cluster_file key in YAML config (contact index file).
CLI:
API:
Macrostate Trajectory¶
What it shows: The macrostate trajectory as a color-coded horizontal time series.
CLI:
API:
Chapman-Kolmogorov Test¶
What it shows: Chapman-Kolmogorov test for the macrostate model. Compares propagated macrostate populations against direct estimates at multiples of the lag time.
CLI:
API:
RMSD¶
What it shows: Per-macrostate C-alpha RMSD (or feature-space RMSD) relative to the mean structure of each macrostate.
Requires: Topology (.pdb) and trajectory (.xtc) files set on the Lumping object.
CLI:
API:
mpp.topology_file = "structure.pdb"
mpp.xtc_trajectory_file = "trajectory.xtc"
mpp.plot.rmsd("rmsd.pdf")
Delta RMSD¶
What it shows: Per-macrostate RMSD relative to macrostate 0 (instead of each state's own mean). Highlights structural differences between macrostates.
Requires: Same as RMSD above.
CLI:
API:
State Network¶
What it shows: A graph of macrostates as nodes, with edge widths proportional to transition probabilities.
CLI:
API:
Transition Matrix¶
What it shows: The macrostate transition matrix as a heatmap. Entries below a threshold are shown as zero (white).
CLI:
API:
Transition Time¶
What it shows: Mean first-passage times between macrostates.
CLI:
API:
Macrostate Trajectory (text output)¶
What it produces: Not a plot — writes the macrostate trajectory as a plain-text file (one integer per line, 1-based macrostate indices).
CLI:
python -m MPP.run config.yml T none -Z Z.npy \
-p macrostate_trajectory -o macrostate_trajectory.txt
API:
Stochastic State Similarity¶
What it shows: Overlap of macrostate assignments between stochastic lumping runs.
Only meaningful for n_runs > 1.
CLI:
python -m MPP.run config_stochastic.yml T none -Z Z.npy \
-p stochastic_state_similarity -o state_similarity.pdf
API:
Relative Implied Timescales¶
What it shows: Implied timescales of each stochastic run relative to the reference
T none lumping. Only meaningful for n_runs > 1.
CLI:
python -m MPP.run config_stochastic.yml T none -Z Z.npy \
-p relative_implied_timescales -o rel_timescales.pdf
API:
Macro Feature¶
What it shows: Population-weighted mean feature per macrostate across all stochastic
runs, with optional comparison to a reference lumping. Only meaningful for n_runs > 1.
CLI:
API: