View Our Coding Tutorials Online
Many of our coding tutorials are available in this repository. For the quickest, zero-setup experience, open them in Google Colab using the “Open in Colab” links.
Colab runs entirely in your browser, so you don’t need to install Python or an IDE (Integrated Development Environment).
You can also view our tutorials on GitHub, but its preview sometimes fails for larger jupyter notebooks; examples of these rendering issues are shown at the end of this page. To download any tutorial, open it on GitHub and choose the down-arrow icon (top-right menu) to save the file locally.
Recommended: Open in Colab
Click the "Open" link in the "Open in Colab" column of the following tables to immediately run, edit, and save a copy to your Google Drive.
Notebooks (open in Colab)
| Notebook | Description | Open in Colab | View on GitHub |
|---|---|---|---|
| Quickstart | Install, load data, and run your first analysis. | Open | Source |
| Dissimilarity Measures | Compute and compare sequence dissimilarity metrics. | Open | Source |
| Hierarchical Clustering | Cluster sequences hierarchically and visualize dendrograms. | Open | Source |
| Local vs. Global Quintiles | Compare local vs global binning for value-to-state mapping. | Open | Source |
| Multidomain Sequence Analysis: Main tutorial | End-to-end analysis across multiple domains per subject. | Open | Source |
| Polyadic Sequence Analysis | Analyze polyadic sequences (multi-actor interactions). | Open | Source |
Python scripts
| Script | Description | Open in Colab | View on GitHub |
|---|---|---|---|
| Multidomain Sequence Analysis: CombT | CombT analysis workflow for multidomain sequences. | Open | Source |
| Polyadic Sequence Analysis | Script version of the polyadic analysis. | Open | Source |
Why GitHub preview may fail
Sometimes GitHub fails to render a notebook (.ipynb) and shows:
Unable to render code blockYou might see a screen like this:

This is a known limitation of GitHub’s preview for large outputs or complex notebooks.
To download the tutorial, click here:

Author: Yuqi Liang