Skip to main content

Module stats

Module stats 

Source
Expand description

Support classes, diversity motifs and incidences of a position (Tharanga et al. 2025; motif definitions after Hu et al. 2013 and Khan et al. 2008).

Structs§

Diversity
Diversity statistics of a position derived from its motifs.

Functions§

classify_motifs
Classifies the variants of a position, given their counts in descending order:
diversity
Computes the diversity statistics from counts and their motifs.
incidence
count / support × 100, rounded once (support must be positive).
support_label
Low-support class of a position: NS (N = 0), LS (0 < N < T), ELS (N = T); None for eligible positions (N > T).