Examples

Example scripts for clustering, visualization, and analysis of molecular dynamics data with MDSA-tools.

Start with Data generation for per-frame residue-pair matrices, then Feature matrix & exploratory clustering for feature construction, clustering, and reduction. Residue-pair H-bond features from cpptraj series instead produces a precomputed feature matrix. Feature rows represent frames; replicate maps and cohesion additionally require the actual per-replicate frame counts. These examples analyze residue-pair interactions; they do not compute graph centrality or communities.

Preview images illustrate manuscript analyses; some annotations were added separately.

Data Generation Example

Data generation

Clustering and Dim-Red Examples

Feature matrix & exploratory clustering

UMAP embedding visualization example

UMAP embeddings (per-frame labelling)