spmviz.viz.plot_sequence_logo#
- spmviz.viz.plot_sequence_logo(db, anchor=None, ax=None, before=3, after=5, top=12, info=True, title=None)[source]#
Sequence logo of the events around an anchor (or of the first positions).
Each column stacks the events at that relative position with heights \(p_i\,R\) where \(R=\log_2 K-H\) is the information content of the column (
info=True; bits) or simply \(p_i\).