Skip to content

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)

NotebookDescriptionOpen in ColabView on GitHub
QuickstartInstall, load data, and run your first analysis.OpenSource
Dissimilarity MeasuresCompute and compare sequence dissimilarity metrics.OpenSource
Hierarchical ClusteringCluster sequences hierarchically and visualize dendrograms.OpenSource
Local vs. Global QuintilesCompare local vs global binning for value-to-state mapping.OpenSource
Multidomain Sequence Analysis: Main tutorialEnd-to-end analysis across multiple domains per subject.OpenSource
Polyadic Sequence AnalysisAnalyze polyadic sequences (multi-actor interactions).OpenSource

Python scripts

ScriptDescriptionOpen in ColabView on GitHub
Multidomain Sequence Analysis: CombTCombT analysis workflow for multidomain sequences.OpenSource
Polyadic Sequence AnalysisScript version of the polyadic analysis.OpenSource

Why GitHub preview may fail

Sometimes GitHub fails to render a notebook (.ipynb) and shows:

Unable to render code block

You might see a screen like this:

render_failure_example

This is a known limitation of GitHub’s preview for large outputs or complex notebooks.

To download the tutorial, click here:

click_for_download.png

Author: Yuqi Liang

Released under the BSD-3-Clause License.