Skip to content

Work in process

This submodule is unfinished. Do not use.

poreflow.steps.sequence

Sequencer

calculateSequenceVV(x, K, p, p_bad, score_cutoff=-10, verbose=False, **kwargs)

Calculates the maximum likelihood sequence.

Parameters:

Name Type Description Default
x

(d, n) or (n,) array of feature vectors

required
K

(n, d, d) or (n,) array of stiffness matrices

required
p

(n, b+1, 3) or (n, b+1, 12) array of step probabilities

required
p_bad

(n,) or (n, 1) array of bad level probabilities

required
score_cutoff

threshold for pruning

-10
verbose

print progress

False
**kwargs

optional overrides (not fully implemented as in MATLAB varargin)

{}

Returns:

Name Type Description
sequence

The max likelihood sequence string