Sequenzo and R
Use this section if you already know TraMineR, WeightedCluster, TraMineRextras, or seqHMM and want the closest Sequenzo workflow in Python.
Start Here
| Need | Page |
|---|---|
| Map familiar R functions to Sequenzo | Functions Comparison |
| Understand speed and implementation differences | Performance Differences |
| Call R from a Python notebook | Use R in Python Environment |
Main Idea
Sequenzo is not a line-by-line rewrite of R packages. It keeps the main sequence-analysis workflows, but presents them through Python objects, pandas data frames, NumPy arrays, and notebook-friendly plotting.
For a first Python workflow, start with SequenceData, then compute distances, cluster, evaluate, and visualize. Use the R mapping pages when you need to translate an existing TraMineR or seqHMM script.