Skip to content

Functions Comparison

This page gives a compact map for users who know the R sequence-analysis ecosystem and want to find the closest Sequenzo entry points in Python.

Sequenzo is not a line-by-line clone of TraMineR, WeightedCluster, TraMineRextras, or seqHMM. The goal is to preserve the main analytical workflows while using Python-style objects such as SequenceData, NumPy arrays, pandas data frames, and matplotlib-based plotting.

Typical Workflow

R workflowSequenzo entry pointWhere to read next
Define state sequences with TraMineR::seqdef()SequenceDataSequenceData
Compute sequence distances with TraMineR::seqdist()get_distance_matrix()Get Distance Matrix
Hierarchical clustering with stats::hclust() on a distance matrixCluster / ClusterResultsHierarchical Clustering
PAM / medoid clustering with WeightedCluster::wcKMedoids()KMedoidsKMedoids
Cluster quality evaluationClusterQualityCluster Quality

Module-Level Mapping Pages

TopicMapping page
Sequence Characteristics IndicatorsSequence Characteristics: Sequenzo and TraMineR Mapping
Statistical summariesStatistical Helpers: Sequenzo and TraMineR Mapping
VisualizationVisualization Functions: Sequenzo and TraMineR Mapping
Event sequencesEvent Sequences: Sequenzo and TraMineR Mapping
Multidomain / polyadic analysisMultidomain: Sequenzo and TraMineR Mapping
Discrepancy analysisDiscrepancy Analysis: Sequenzo and TraMineR Mapping
Group comparisonGroup Comparison: Sequenzo and TraMineR Mapping
Hidden Markov modelsMarkov Chain Models: Sequenzo and seqHMM Mapping

Naming Notes

  • R arguments such as alphabet are often represented by states in Sequenzo, because SequenceData stores the categorical state space explicitly.
  • Sequenzo uses snake_case function names, while R functions often use compact names such as seqdss, seqdur, or dissassoc.
  • Many Sequenzo pages include a local "R Counterpart" or "TraMineR Parameter Mapping" section for argument-level translation.

For a runnable end-to-end path, start with the Quickstart and then use the Typical Workflow.

Sequenzo is released under the BSD-3-Clause License; this documentation site source is licensed under MIT.