spmviz.viz.plot_sequence_index#

spmviz.viz.plot_sequence_index(db, ax=None, max_sequences=120, sort='length', highlight=None, max_length=40, top=14, title=None, **constraints)[source]#

Sequence index plot: one row per sequence, one colored cell per element.

Parameters:
sort{“length”, “pattern”, “lexicographic”, None}

"pattern" puts the sequences containing highlight first.

highlightpattern or list of patterns, optional

The earliest occurrence is marked by white dots joined by a dark line (one marker and line style per pattern).

Examples using spmviz.viz.plot_sequence_index#

Gaps, spans and time windows

Gaps, spans and time windows

Sequence index plots with pattern occurrences

Sequence index plots with pattern occurrences